#126229#126229
#126229 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.6% C 0.116 H 148.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #126229 |
|---|---|
| RGB | rgb(18, 98, 41) |
| HSL | hsl(137, 69%, 23%) |
| HSV | hsv(137, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 58.2%, 61.6%) |
| CIE-LAB | lab(36.03, -36.71, 25.67) |
| CIE-LCH | lch(36.03, 44.79, 145.04°) |
| OKLab | oklab(43.63% -0.0987 0.0615) |
| OKLCH | oklch(43.63% 0.116 148.1) |
| XYZ | xyz(5.0170, 9.0235, 3.5747) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.41
Pine
#2B5D34
ΔE00 4.50
Deep Green
#02590F
ΔE00 4.50
Spruce
#0A5F38
ΔE00 4.68
Forest
#0B5509
ΔE00 5.71
Darkgreen
#006400
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126229 #62124B
analogous
#236212 #126229 #126251
triadic
#126229 #291262 #622912
tetradic
#126229 #122362 #62124B #625112
square
#126229 #122362 #62124B #625112
split-complementary
#126229 #511262 #621223
monochromatic
#051A0B #092E13 #126229 #1B963F #25C954
Accessibility & contrast
On white
7.49
#126229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#126229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126229
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126229 | 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)
#635924
Deuteranopia (green-blind)
#5A522D
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126229; /* rgb */ color: rgb(18, 98, 41); /* oklch */ color: oklch(43.6% 0.116 148.1);
Tailwind
colors: {
custom: {
50: '#5f8f64',
500: '#126229',
950: '#000000',
},
}SCSS
$custom: #126229; $custom-light: #5f8f64; $custom-dark: #000000;
JSON
{
"hex": "#126229",
"rgb": {
"r": 18,
"g": 98,
"b": 41
},
"hsl": {
"h": 137.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43628,
"c": 0.11626,
"h": 148.1
},
"luminance": 0.09024
}Semantic roles & 50–950 ramp
primary
#126229
secondary
#9A367D
accent
#3CB9EC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A