#245912#245912
#245912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.116 H 139.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #245912 |
|---|---|
| RGB | rgb(36, 89, 18) |
| HSL | hsl(105, 66%, 21%) |
| HSV | hsv(105, 80%, 35%) |
| CMYK | cmyk(59.6%, 0%, 79.8%, 65.1%) |
| CIE-LAB | lab(33.06, -31.80, 33.63) |
| CIE-LCH | lch(33.06, 46.28, 133.39°) |
| OKLab | oklab(41.24% -0.0875 0.0757) |
| OKLCH | oklch(41.24% 0.116 139.1) |
| XYZ | xyz(4.4089, 7.5631, 1.7996) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.58
Deep Green
#02590F
ΔE00 2.94
Forest Green
#2D5A27
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.61
Darkgreen
#006400
ΔE00 5.00
Bottle Green
#044A05
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245912 #471259
analogous
#475912 #245912 #125923
triadic
#245912 #122459 #591224
tetradic
#245912 #124759 #471259 #592312
square
#245912 #124759 #471259 #592312
split-complementary
#245912 #231259 #591247
monochromatic
#0A1905 #0F2608 #245912 #398C1C #4DBF27
Accessibility & contrast
On white
8.36
#245912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#245912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245912
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245912 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#1F564B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #245912; /* rgb */ color: rgb(36, 89, 18); /* oklch */ color: oklch(41.2% 0.116 139.1);
Tailwind
colors: {
custom: {
50: '#668855',
500: '#245912',
950: '#000000',
},
}SCSS
$custom: #245912; $custom-light: #668855; $custom-dark: #000000;
JSON
{
"hex": "#245912",
"rgb": {
"r": 36,
"g": 89,
"b": 18
},
"hsl": {
"h": 104.789,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.41236,
"c": 0.11575,
"h": 139.1
},
"luminance": 0.07563
}Semantic roles & 50–950 ramp
primary
#245912
secondary
#7A3592
accent
#3FE9BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78