#245212#245212
#245212 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.106 H 138.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #245212 |
|---|---|
| RGB | rgb(36, 82, 18) |
| HSL | hsl(103, 64%, 20%) |
| HSV | hsv(103, 78%, 32%) |
| CMYK | cmyk(56.1%, 0%, 78%, 67.8%) |
| CIE-LAB | lab(30.53, -28.78, 31.08) |
| CIE-LCH | lch(30.53, 42.36, 132.79°) |
| OKLab | oklab(39.15% -0.0794 0.0704) |
| OKLCH | oklch(39.15% 0.106 138.4) |
| XYZ | xyz(3.8539, 6.4530, 1.6146) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.07
Bottle Green
#044A05
ΔE00 3.77
Darkgreen (survey)
#054907
ΔE00 3.93
Forest Green
#2D5A27
ΔE00 3.97
Navy Green
#35530A
ΔE00 4.07
Deep Green
#02590F
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245212 #401252
analogous
#445212 #245212 #125220
triadic
#245212 #122452 #521224
tetradic
#245212 #124452 #401252 #522012
square
#245212 #124452 #401252 #522012
split-complementary
#245212 #201252 #521244
monochromatic
#0B1906 #0E2007 #245212 #3A841D #50B628
Accessibility & contrast
On white
9.17
#245212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#245212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245212
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245212 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A07
Deuteranopia (green-blind)
#4F4618
Tritanopia (blue-blind)
#204F45
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #245212; /* rgb */ color: rgb(36, 82, 18); /* oklch */ color: oklch(39.2% 0.106 138.4);
Tailwind
colors: {
custom: {
50: '#648354',
500: '#245212',
950: '#000000',
},
}SCSS
$custom: #245212; $custom-light: #648354; $custom-dark: #000000;
JSON
{
"hex": "#245212",
"rgb": {
"r": 36,
"g": 82,
"b": 18
},
"hsl": {
"h": 103.125,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.39152,
"c": 0.10612,
"h": 138.4
},
"luminance": 0.06453
}Semantic roles & 50–950 ramp
primary
#245212
secondary
#73358B
accent
#41E7B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78