#245F12#245F12
#245F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.124 H 139.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #245F12 |
|---|---|
| RGB | rgb(36, 95, 18) |
| HSL | hsl(106, 68%, 22%) |
| HSV | hsv(106, 81%, 37%) |
| CMYK | cmyk(62.1%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.21, -34.27, 35.76) |
| CIE-LCH | lch(35.21, 49.53, 133.78°) |
| OKLab | oklab(43.01% -0.0942 0.0802) |
| OKLCH | oklch(43.01% 0.124 139.6) |
| XYZ | xyz(4.9287, 8.6027, 1.9729) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.34
Darkgreen
#006400
ΔE00 3.36
Forest
#0B5509
ΔE00 3.73
Forest Green
#2D5A27
ΔE00 4.82
Navy Green
#35530A
ΔE00 5.81
Bottle Green
#044A05
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245F12 #4D125F
analogous
#4B5F12 #245F12 #125F27
triadic
#245F12 #12245F #5F1224
tetradic
#245F12 #124B5F #4D125F #5F2712
square
#245F12 #124B5F #4D125F #5F2712
split-complementary
#245F12 #27125F #5F124B
monochromatic
#0A1A05 #112C08 #245F12 #37921C #4BC625
Accessibility & contrast
On white
7.72
#245F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#245F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245F12
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245F12 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#1D5C50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #245f12; /* rgb */ color: rgb(36, 95, 18); /* oklch */ color: oklch(43.0% 0.124 139.6);
Tailwind
colors: {
custom: {
50: '#678d56',
500: '#245f12',
950: '#000000',
},
}SCSS
$custom: #245f12; $custom-light: #678d56; $custom-dark: #000000;
JSON
{
"hex": "#245f12",
"rgb": {
"r": 36,
"g": 95,
"b": 18
},
"hsl": {
"h": 105.974,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.43012,
"c": 0.1237,
"h": 139.6
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#245F12
secondary
#803697
accent
#3DEBC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78