#126023#126023
#126023 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.119 H 146.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #126023 |
|---|---|
| RGB | rgb(18, 96, 35) |
| HSL | hsl(133, 68%, 22%) |
| HSV | hsv(133, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 63.5%, 62.4%) |
| CIE-LAB | lab(35.23, -36.85, 27.90) |
| CIE-LCH | lch(35.23, 46.22, 142.86°) |
| OKLab | oklab(42.94% -0.0992 0.0659) |
| OKLCH | oklch(42.94% 0.119 146.4) |
| XYZ | xyz(4.7353, 8.6151, 3.0031) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.34
Forest Green
#2D5A27
ΔE00 4.10
Forest
#0B5509
ΔE00 4.56
Pine
#2B5D34
ΔE00 5.00
Darkgreen
#006400
ΔE00 5.18
Spruce
#0A5F38
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126023 #60124F
analogous
#286012 #126023 #12604A
triadic
#126023 #231260 #602312
tetradic
#126023 #122860 #60124F #604A12
square
#126023 #122860 #60124F #604A12
split-complementary
#126023 #4A1260 #601228
monochromatic
#051A09 #082C10 #126023 #1C9436 #25C749
Accessibility & contrast
On white
7.71
#126023 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#126023 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126023
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126023 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126023 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61571D
Deuteranopia (green-blind)
#595028
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126023; /* rgb */ color: rgb(18, 96, 35); /* oklch */ color: oklch(42.9% 0.119 146.4);
Tailwind
colors: {
custom: {
50: '#5f8e60',
500: '#126023',
950: '#000000',
},
}SCSS
$custom: #126023; $custom-light: #5f8e60; $custom-dark: #000000;
JSON
{
"hex": "#126023",
"rgb": {
"r": 18,
"g": 96,
"b": 35
},
"hsl": {
"h": 133.077,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42943,
"c": 0.1191,
"h": 146.4
},
"luminance": 0.08616
}Semantic roles & 50–950 ramp
primary
#126023
secondary
#983683
accent
#3DC5EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79