#225F0C#225F0C
#225F0C is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.128 H 139.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #225F0C |
|---|---|
| RGB | rgb(34, 95, 12) |
| HSL | hsl(104, 78%, 21%) |
| HSV | hsv(104, 87%, 37%) |
| CMYK | cmyk(64.2%, 0%, 87.4%, 62.7%) |
| CIE-LAB | lab(35.10, -35.23, 37.69) |
| CIE-LCH | lch(35.10, 51.59, 133.07°) |
| OKLab | oklab(42.9% -0.097 0.0833) |
| OKLCH | oklch(42.9% 0.128 139.4) |
| XYZ | xyz(4.8181, 8.5506, 1.7443) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.96
Deep Green
#02590F
ΔE00 3.48
Forest
#0B5509
ΔE00 3.79
Forest Green
#2D5A27
ΔE00 5.48
Navy Green
#35530A
ΔE00 5.86
Bottle Green
#044A05
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F0C #490C5F
analogous
#4B5F0C #225F0C #0C5F1F
triadic
#225F0C #0C225F #5F0C22
tetradic
#225F0C #0C4B5F #490C5F #5F1F0C
square
#225F0C #0C4B5F #490C5F #5F1F0C
split-complementary
#225F0C #1F0C5F #5F0C4B
monochromatic
#0A1B03 #0F2905 #225F0C #359513 #49CC1A
Accessibility & contrast
On white
7.75
#225F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#225F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F0C
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F0C | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#1B5B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f0c; /* rgb */ color: rgb(34, 95, 12); /* oklch */ color: oklch(42.9% 0.128 139.4);
Tailwind
colors: {
custom: {
50: '#668d54',
500: '#225f0c',
950: '#000000',
},
}SCSS
$custom: #225f0c; $custom-light: #668d54; $custom-dark: #000000;
JSON
{
"hex": "#225f0c",
"rgb": {
"r": 34,
"g": 95,
"b": 12
},
"hsl": {
"h": 104.096,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.42896,
"c": 0.12785,
"h": 139.4
},
"luminance": 0.08551
}Semantic roles & 50–950 ramp
primary
#225F0C
secondary
#7D2D99
accent
#34F4C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78