#126227#126227
#126227 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.6% C 0.118 H 147.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #126227 |
|---|---|
| RGB | rgb(18, 98, 39) |
| HSL | hsl(136, 69%, 23%) |
| HSV | hsv(136, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.00, -37.02, 26.71) |
| CIE-LCH | lch(36.00, 45.65, 144.19°) |
| OKLab | oklab(43.6% -0.0996 0.0636) |
| OKLCH | oklch(43.6% 0.118 147.4) |
| XYZ | xyz(4.9830, 9.0099, 3.3955) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.18
Forest Green
#2D5A27
ΔE00 4.41
Pine
#2B5D34
ΔE00 4.80
Spruce
#0A5F38
ΔE00 5.12
Forest
#0B5509
ΔE00 5.41
Darkgreen
#006400
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126227 #62124D
analogous
#256212 #126227 #12624F
triadic
#126227 #271262 #622712
tetradic
#126227 #122562 #62124D #624F12
square
#126227 #122562 #62124D #624F12
split-complementary
#126227 #4F1262 #621225
monochromatic
#051A0A #092E12 #126227 #1B963C #25C950
Accessibility & contrast
On white
7.49
#126227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#126227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126227
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126227 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635921
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126227; /* rgb */ color: rgb(18, 98, 39); /* oklch */ color: oklch(43.6% 0.118 147.4);
Tailwind
colors: {
custom: {
50: '#5f8f63',
500: '#126227',
950: '#000000',
},
}SCSS
$custom: #126227; $custom-light: #5f8f63; $custom-dark: #000000;
JSON
{
"hex": "#126227",
"rgb": {
"r": 18,
"g": 98,
"b": 39
},
"hsl": {
"h": 135.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43598,
"c": 0.11816,
"h": 147.4
},
"luminance": 0.0901
}Semantic roles & 50–950 ramp
primary
#126227
secondary
#9A3680
accent
#3CBEEC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79