#126A0F#126A0F
#126A0F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.145 H 142.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #126A0F |
|---|---|
| RGB | rgb(18, 106, 15) |
| HSL | hsl(118, 75%, 24%) |
| HSV | hsv(118, 86%, 42%) |
| CMYK | cmyk(83%, 0%, 85.8%, 58.4%) |
| CIE-LAB | lab(38.67, -42.39, 39.93) |
| CIE-LCH | lch(38.67, 58.24, 136.71°) |
| OKLab | oklab(45.75% -0.1152 0.0886) |
| OKLCH | oklch(45.75% 0.145 142.4) |
| XYZ | xyz(5.4894, 10.4705, 2.1835) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.20
Deep Green
#02590F
ΔE00 5.77
Forest
#0B5509
ΔE00 6.82
Tree Green
#2A7E19
ΔE00 7.08
Darkish Green
#287C37
ΔE00 7.48
Green
#008000
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A0F #670F6A
analogous
#3F6A0F #126A0F #0F6A39
triadic
#126A0F #0F126A #6A0F12
tetradic
#126A0F #0F3F6A #670F6A #6A390F
square
#126A0F #0F3F6A #670F6A #6A390F
split-complementary
#126A0F #390F6A #6A0F3F
monochromatic
#051B04 #093407 #126A0F #1BA017 #24D51E
Accessibility & contrast
On white
6.79
#126A0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#126A0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A0F
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A0F | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126a0f; /* rgb */ color: rgb(18, 106, 15); /* oklch */ color: oklch(45.8% 0.145 142.4);
Tailwind
colors: {
custom: {
50: '#639657',
500: '#126a0f',
950: '#000000',
},
}SCSS
$custom: #126a0f; $custom-light: #639657; $custom-dark: #000000;
JSON
{
"hex": "#126a0f",
"rgb": {
"r": 18,
"g": 106,
"b": 15
},
"hsl": {
"h": 118.022,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.4575,
"c": 0.14531,
"h": 142.4
},
"luminance": 0.10471
}Semantic roles & 50–950 ramp
primary
#126A0F
secondary
#9F32A2
accent
#36F2EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D03
muted
#7A7E78