#126223#126223
#126223 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.122 H 146.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #126223 |
|---|---|
| RGB | rgb(18, 98, 35) |
| HSL | hsl(133, 69%, 23%) |
| HSV | hsv(133, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 64.3%, 61.6%) |
| CIE-LAB | lab(35.95, -37.60, 28.74) |
| CIE-LCH | lch(35.95, 47.33, 142.61°) |
| OKLab | oklab(43.54% -0.1013 0.0677) |
| OKLCH | oklch(43.54% 0.122 146.2) |
| XYZ | xyz(4.9201, 8.9847, 3.0647) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 4.53
Darkgreen
#006400
ΔE00 4.78
Forest
#0B5509
ΔE00 4.91
Pine
#2B5D34
ΔE00 5.40
Spruce
#0A5F38
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126223 #621251
analogous
#296212 #126223 #12624B
triadic
#126223 #231262 #622312
tetradic
#126223 #122962 #621251 #624B12
square
#126223 #122962 #621251 #624B12
split-complementary
#126223 #4B1262 #621229
monochromatic
#051A09 #092E11 #126223 #1B9635 #25C948
Accessibility & contrast
On white
7.51
#126223 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#126223 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126223
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126223 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126223 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63581C
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126223; /* rgb */ color: rgb(18, 98, 35); /* oklch */ color: oklch(43.5% 0.122 146.2);
Tailwind
colors: {
custom: {
50: '#5f9060',
500: '#126223',
950: '#000000',
},
}SCSS
$custom: #126223; $custom-light: #5f9060; $custom-dark: #000000;
JSON
{
"hex": "#126223",
"rgb": {
"r": 18,
"g": 98,
"b": 35
},
"hsl": {
"h": 132.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43542,
"c": 0.12179,
"h": 146.2
},
"luminance": 0.08985
}Semantic roles & 50–950 ramp
primary
#126223
secondary
#9A3685
accent
#3CC6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79