#12762F#12762F
#12762F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.138 H 147.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #12762F |
|---|---|
| RGB | rgb(18, 118, 47) |
| HSL | hsl(137, 74%, 27%) |
| HSV | hsv(137, 85%, 46%) |
| CMYK | cmyk(84.7%, 0%, 60.2%, 53.7%) |
| CIE-LAB | lab(43.20, -43.20, 31.06) |
| CIE-LCH | lch(43.20, 53.21, 144.29°) |
| OKLab | oklab(49.6% -0.1161 0.0738) |
| OKLCH | oklch(49.6% 0.138 147.6) |
| XYZ | xyz(7.2404, 13.2898, 4.8724) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.63
Jungle Green
#048243
ΔE00 4.92
Tree Green
#2A7E19
ΔE00 5.75
Green
#008000
ΔE00 6.87
Darkgreen
#006400
ΔE00 7.46
Dark Grass Green
#388004
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12762F #761259
analogous
#277612 #12762F #127661
triadic
#12762F #2F1276 #762F12
tetradic
#12762F #122776 #761259 #766112
square
#12762F #122776 #761259 #766112
split-complementary
#12762F #611276 #761227
monochromatic
#041B0B #0A411A #12762F #1AAB44 #25DE5A
Accessibility & contrast
On white
5.74
#12762F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#12762F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12762F
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12762F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12762F | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776B28
Deuteranopia (green-blind)
#6D6335
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #12762f; /* rgb */ color: rgb(18, 118, 47); /* oklch */ color: oklch(49.6% 0.138 147.6);
Tailwind
colors: {
custom: {
50: '#649e6a',
500: '#12762f',
950: '#000000',
},
}SCSS
$custom: #12762f; $custom-light: #649e6a; $custom-dark: #000000;
JSON
{
"hex": "#12762f",
"rgb": {
"r": 18,
"g": 118,
"b": 47
},
"hsl": {
"h": 137.4,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.49597,
"c": 0.13752,
"h": 147.6
},
"luminance": 0.13291
}Semantic roles & 50–950 ramp
primary
#12762F
secondary
#AD378B
accent
#38BBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A