#12761F#12761F
#12761F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.4% C 0.150 H 144.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #12761F |
|---|---|
| RGB | rgb(18, 118, 31) |
| HSL | hsl(128, 74%, 27%) |
| HSV | hsv(128, 85%, 46%) |
| CMYK | cmyk(84.7%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.04, -45.15, 38.36) |
| CIE-LCH | lch(43.04, 59.24, 139.64°) |
| OKLab | oklab(49.42% -0.1219 0.0876) |
| OKLCH | oklch(49.42% 0.15 144.3) |
| XYZ | xyz(6.9747, 13.1835, 3.4731) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.86
Darkish Green
#287C37
ΔE00 3.98
Green
#008000
ΔE00 4.72
Darkgreen
#006400
ΔE00 6.22
Dark Grass Green
#388004
ΔE00 6.49
Jungle Green
#048243
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12761F #761269
analogous
#377612 #12761F #127651
triadic
#12761F #1F1276 #761F12
tetradic
#12761F #123776 #761269 #765112
square
#12761F #123776 #761269 #765112
split-complementary
#12761F #511276 #761237
monochromatic
#041B07 #0A4111 #12761F #1AAB2D #25DE3D
Accessibility & contrast
On white
5.77
#12761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#12761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12761F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12761F | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #12761f; /* rgb */ color: rgb(18, 118, 31); /* oklch */ color: oklch(49.4% 0.150 144.3);
Tailwind
colors: {
custom: {
50: '#659f60',
500: '#12761f',
950: '#000000',
},
}SCSS
$custom: #12761f; $custom-light: #659f60; $custom-dark: #000000;
JSON
{
"hex": "#12761f",
"rgb": {
"r": 18,
"g": 118,
"b": 31
},
"hsl": {
"h": 127.8,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.49415,
"c": 0.15014,
"h": 144.3
},
"luminance": 0.13184
}Semantic roles & 50–950 ramp
primary
#12761F
secondary
#AD379D
accent
#38D8F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79