#228B22

Forest Green

#228B22Forest Green

Luminance

0.189

Category

Green

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#228B22
No #
228B22

RGB

RGB
rgb(34, 139, 34)
Values
R:34 G:139 B:34

HSL

HSL
hsl(120, 61%, 34%)
Values
H:120° S:61% L:34%

HSV / HSB

HSV
hsv(120, 76%, 55%)
Values
H:120° S:76% V:55%

CMYK

CMYK
cmyk(76%, 0%, 76%, 45%)
Values
C:76 M:0 Y:76 K:45

LAB

LAB
lab(51, -50, 45)
Values
L:51 a:-50 b:45

OKLCH

OKLCH
oklch(55.8% 0.169 142.9)
Values
L:55.8% C:0.169 H:142.9°

Code Formats

CSS
color: #228B22;
Swift
UIColor(red: 0.133, green: 0.545, blue: 0.133, alpha: 1.0)
Kotlin
Color(0xFF228B22)
Flutter
Color(0xFF228B22)
Android
#FF228B22

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.39:1

AA-large

On Black

4.78:1

AA

Grayscale Contrast

Aa

0%

4.8

AA
Aa

10%

4.0

AA-large
Aa

20%

2.9

Fail
Aa

30%

1.9

Fail
Aa

40%

1.3

Fail
Aa

50%

1.1

Fail
Aa

60%

1.5

Fail
Aa

70%

2.1

Fail
Aa

80%

2.7

Fail
Aa

90%

3.5

AA-large
Aa

100%

4.4

AA-large

Best Grayscale Contrast

#000000 with ratio 4.78:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #42D142 0%, #196719 100%)
OKLCH
linear-gradient(90deg, oklch(75.7% 0.219 143.0) 0%, oklch(45.1% 0.134 143.0) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #1BC51B 0%, #0EBE0E 100%)
OKLCH
linear-gradient(135deg, oklch(71.6% 0.235 142.6) 0%, oklch(69.6% 0.233 142.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #228B22 0%, #8C228C 100%)
OKLCH
linear-gradient(90deg, oklch(55.8% 0.169 142.9) 0%, oklch(46.6% 0.184 328.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #578C22 0%, #228B22 50%, #228C57 100%)
OKLCH
linear-gradient(90deg, oklch(58.2% 0.146 132.8) 0%, oklch(55.8% 0.169 142.9) 50%, oklch(56.8% 0.125 156.2) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #228C22 0%, #152815 100%)
OKLCH
linear-gradient(180deg, oklch(56.1% 0.170 142.9) 0%, oklch(25.4% 0.043 144.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #31C931 0%, #1E7B1E 100%)
OKLCH
radial-gradient(circle, oklch(73.1% 0.225 142.8) 0%, oklch(51.1% 0.154 142.9) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette