#126B22#126B22
#126B22 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.134 H 145.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #126B22 |
|---|---|
| RGB | rgb(18, 107, 34) |
| HSL | hsl(131, 71%, 25%) |
| HSV | hsv(131, 83%, 42%) |
| CMYK | cmyk(83.2%, 0%, 68.2%, 58%) |
| CIE-LAB | lab(39.17, -41.01, 32.87) |
| CIE-LCH | lch(39.17, 52.55, 141.29°) |
| OKLab | oklab(46.21% -0.1106 0.0764) |
| OKLCH | oklch(46.21% 0.134 145.4) |
| XYZ | xyz(5.7955, 10.7588, 3.2843) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.11
Deep Green
#02590F
ΔE00 5.86
Darkish Green
#287C37
ΔE00 6.16
Forest Green
#2D5A27
ΔE00 7.05
Forest
#0B5509
ΔE00 7.17
Tree Green
#2A7E19
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126B22 #6B125B
analogous
#2E6B12 #126B22 #126B4F
triadic
#126B22 #22126B #6B2212
tetradic
#126B22 #122E6B #6B125B #6B4F12
square
#126B22 #122E6B #6B125B #6B4F12
split-complementary
#126B22 #4F126B #6B122E
monochromatic
#041A08 #093711 #126B22 #1B9F33 #24D443
Accessibility & contrast
On white
6.66
#126B22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#126B22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126B22
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126B22 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#635A29
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126b22; /* rgb */ color: rgb(18, 107, 34); /* oklch */ color: oklch(46.2% 0.134 145.4);
Tailwind
colors: {
custom: {
50: '#629661',
500: '#126b22',
950: '#000000',
},
}SCSS
$custom: #126b22; $custom-light: #629661; $custom-dark: #000000;
JSON
{
"hex": "#126b22",
"rgb": {
"r": 18,
"g": 107,
"b": 34
},
"hsl": {
"h": 130.787,
"s": 71.2,
"l": 24.51
},
"oklch": {
"l": 0.46208,
"c": 0.13438,
"h": 145.4
},
"luminance": 0.10759
}Semantic roles & 50–950 ramp
primary
#126B22
secondary
#A2368F
accent
#3ACEEE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79