#126225#126225
#126225 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.120 H 146.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #126225 |
|---|---|
| RGB | rgb(18, 98, 37) |
| HSL | hsl(134, 69%, 23%) |
| HSV | hsv(134, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 62.2%, 61.6%) |
| CIE-LAB | lab(35.98, -37.32, 27.73) |
| CIE-LCH | lch(35.98, 46.49, 143.38°) |
| OKLab | oklab(43.57% -0.1004 0.0657) |
| OKLCH | oklch(43.57% 0.12 146.8) |
| XYZ | xyz(4.9507, 8.9969, 3.2256) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.88
Forest Green
#2D5A27
ΔE00 4.46
Pine
#2B5D34
ΔE00 5.09
Forest
#0B5509
ΔE00 5.14
Darkgreen
#006400
ΔE00 5.19
Spruce
#0A5F38
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126225 #62124F
analogous
#276212 #126225 #12624D
triadic
#126225 #251262 #622512
tetradic
#126225 #122762 #62124F #624D12
square
#126225 #122762 #62124F #624D12
split-complementary
#126225 #4D1262 #621227
monochromatic
#051A0A #092E11 #126225 #1B9639 #25C94C
Accessibility & contrast
On white
7.50
#126225 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#126225 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126225
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126225 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126225 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63581F
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126225; /* rgb */ color: rgb(18, 98, 37); /* oklch */ color: oklch(43.6% 0.120 146.8);
Tailwind
colors: {
custom: {
50: '#5f8f62',
500: '#126225',
950: '#000000',
},
}SCSS
$custom: #126225; $custom-light: #5f8f62; $custom-dark: #000000;
JSON
{
"hex": "#126225",
"rgb": {
"r": 18,
"g": 98,
"b": 37
},
"hsl": {
"h": 134.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43569,
"c": 0.12,
"h": 146.8
},
"luminance": 0.08998
}Semantic roles & 50–950 ramp
primary
#126225
secondary
#9A3682
accent
#3CC2EC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79