#126233#126233
#126233 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.8% C 0.106 H 152.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #126233 |
|---|---|
| RGB | rgb(18, 98, 51) |
| HSL | hsl(145, 69%, 23%) |
| HSV | hsv(145, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 48%, 61.6%) |
| CIE-LAB | lab(36.18, -34.93, 20.24) |
| CIE-LCH | lch(36.18, 40.37, 149.91°) |
| OKLab | oklab(43.8% -0.0939 0.0498) |
| OKLCH | oklch(43.8% 0.106 152.1) |
| XYZ | xyz(5.2142, 9.1024, 4.6135) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.37
Pine
#2B5D34
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 5.10
Hunter Green
#355E3B
ΔE00 5.30
Deep Green
#02590F
ΔE00 6.55
Forest
#0B5509
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126233 #621241
analogous
#196212 #126233 #12625B
triadic
#126233 #331262 #623312
tetradic
#126233 #121962 #621241 #625B12
square
#126233 #121962 #621241 #625B12
split-complementary
#126233 #5B1262 #621219
monochromatic
#051A0D #092E18 #126233 #1B964E #25C969
Accessibility & contrast
On white
7.45
#126233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#126233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126233
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126233 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#595236
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126233; /* rgb */ color: rgb(18, 98, 51); /* oklch */ color: oklch(43.8% 0.106 152.1);
Tailwind
colors: {
custom: {
50: '#5f8f6b',
500: '#126233',
950: '#000000',
},
}SCSS
$custom: #126233; $custom-light: #5f8f6b; $custom-dark: #000000;
JSON
{
"hex": "#126233",
"rgb": {
"r": 18,
"g": 98,
"b": 51
},
"hsl": {
"h": 144.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43802,
"c": 0.10629,
"h": 152.1
},
"luminance": 0.09103
}Semantic roles & 50–950 ramp
primary
#126233
secondary
#9A3671
accent
#3CA3EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A