#126F25#126F25
#126F25 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.137 H 145.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #126F25 |
|---|---|
| RGB | rgb(18, 111, 37) |
| HSL | hsl(132, 72%, 25%) |
| HSV | hsv(132, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 66.7%, 56.5%) |
| CIE-LAB | lab(40.62, -42.06, 33.05) |
| CIE-LCH | lch(40.62, 53.49, 141.84°) |
| OKLab | oklab(47.42% -0.1133 0.0771) |
| OKLCH | oklch(47.42% 0.137 145.8) |
| XYZ | xyz(6.2674, 11.6303, 3.6645) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.92
Darkgreen
#006400
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 6.59
Deep Green
#02590F
ΔE00 7.17
Jungle Green
#048243
ΔE00 7.46
Green
#008000
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F25 #6F125C
analogous
#2D6F12 #126F25 #126F53
triadic
#126F25 #25126F #6F2512
tetradic
#126F25 #122D6F #6F125C #6F5312
square
#126F25 #122D6F #6F125C #6F5312
split-complementary
#126F25 #53126F #6F122D
monochromatic
#041A09 #093A13 #126F25 #1BA437 #23D848
Accessibility & contrast
On white
6.31
#126F25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F25
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F25 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71641C
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f25; /* rgb */ color: rgb(18, 111, 37); /* oklch */ color: oklch(47.4% 0.137 145.8);
Tailwind
colors: {
custom: {
50: '#639963',
500: '#126f25',
950: '#000000',
},
}SCSS
$custom: #126f25; $custom-light: #639963; $custom-dark: #000000;
JSON
{
"hex": "#126f25",
"rgb": {
"r": 18,
"g": 111,
"b": 37
},
"hsl": {
"h": 132.258,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47424,
"c": 0.13704,
"h": 145.8
},
"luminance": 0.11631
}Semantic roles & 50–950 ramp
primary
#126F25
secondary
#A6378F
accent
#39CAEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A