#245C12#245C12
#245C12 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.120 H 139.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #245C12 |
|---|---|
| RGB | rgb(36, 92, 18) |
| HSL | hsl(105, 67%, 22%) |
| HSV | hsv(105, 80%, 36%) |
| CMYK | cmyk(60.9%, 0%, 80.4%, 63.9%) |
| CIE-LAB | lab(34.13, -33.04, 34.70) |
| CIE-LCH | lch(34.13, 47.92, 133.60°) |
| OKLab | oklab(42.13% -0.0909 0.078) |
| OKLCH | oklch(42.13% 0.12 139.4) |
| XYZ | xyz(4.6637, 8.0726, 1.8846) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.97
Forest
#0B5509
ΔE00 3.04
Darkgreen
#006400
ΔE00 4.13
Forest Green
#2D5A27
ΔE00 4.27
Navy Green
#35530A
ΔE00 5.15
Bottle Green
#044A05
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245C12 #4A125C
analogous
#495C12 #245C12 #125C25
triadic
#245C12 #12245C #5C1224
tetradic
#245C12 #12495C #4A125C #5C2512
square
#245C12 #12495C #4A125C #5C2512
split-complementary
#245C12 #25125C #5C1249
monochromatic
#0A1A05 #102908 #245C12 #388F1C #4CC226
Accessibility & contrast
On white
8.03
#245C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#245C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245C12
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245C12 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#1E594E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #245c12; /* rgb */ color: rgb(36, 92, 18); /* oklch */ color: oklch(42.1% 0.120 139.4);
Tailwind
colors: {
custom: {
50: '#668b56',
500: '#245c12',
950: '#000000',
},
}SCSS
$custom: #245c12; $custom-light: #668b56; $custom-dark: #000000;
JSON
{
"hex": "#245c12",
"rgb": {
"r": 36,
"g": 92,
"b": 18
},
"hsl": {
"h": 105.405,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.42125,
"c": 0.11976,
"h": 139.4
},
"luminance": 0.08073
}Semantic roles & 50–950 ramp
primary
#245C12
secondary
#7D3594
accent
#3EEAC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78