#12762E#12762E
#12762E is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.138 H 147.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #12762E |
|---|---|
| RGB | rgb(18, 118, 46) |
| HSL | hsl(137, 74%, 27%) |
| HSV | hsv(137, 85%, 46%) |
| CMYK | cmyk(84.7%, 0%, 61%, 53.7%) |
| CIE-LAB | lab(43.18, -43.35, 31.55) |
| CIE-LCH | lch(43.18, 53.61, 143.95°) |
| OKLab | oklab(49.58% -0.1165 0.0747) |
| OKLCH | oklch(49.58% 0.138 147.3) |
| XYZ | xyz(7.2205, 13.2818, 4.7673) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.66
Jungle Green
#048243
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 5.59
Green
#008000
ΔE00 6.71
Darkgreen
#006400
ΔE00 7.35
Dark Grass Green
#388004
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12762E #76125A
analogous
#287612 #12762E #127660
triadic
#12762E #2E1276 #762E12
tetradic
#12762E #122876 #76125A #766012
square
#12762E #122876 #76125A #766012
split-complementary
#12762E #601276 #761228
monochromatic
#041B0A #0A4119 #12762E #1AAB43 #25DE59
Accessibility & contrast
On white
5.74
#12762E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#12762E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12762E
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12762E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12762E | 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)
#776B27
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #12762e; /* rgb */ color: rgb(18, 118, 46); /* oklch */ color: oklch(49.6% 0.138 147.3);
Tailwind
colors: {
custom: {
50: '#649e69',
500: '#12762e',
950: '#000000',
},
}SCSS
$custom: #12762e; $custom-light: #649e69; $custom-dark: #000000;
JSON
{
"hex": "#12762e",
"rgb": {
"r": 18,
"g": 118,
"b": 46
},
"hsl": {
"h": 136.8,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.49583,
"c": 0.1384,
"h": 147.3
},
"luminance": 0.13283
}Semantic roles & 50–950 ramp
primary
#12762E
secondary
#AD378C
accent
#38BDF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A