#12721F#12721F
#12721F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.2% C 0.145 H 144.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #12721F |
|---|---|
| RGB | rgb(18, 114, 31) |
| HSL | hsl(128, 73%, 26%) |
| HSV | hsv(128, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 72.8%, 55.3%) |
| CIE-LAB | lab(41.63, -43.79, 36.88) |
| CIE-LCH | lch(41.63, 57.25, 139.89°) |
| OKLab | oklab(48.24% -0.1182 0.0845) |
| OKLCH | oklch(48.24% 0.145 144.5) |
| XYZ | xyz(6.5136, 12.2614, 3.3194) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.62
Tree Green
#2A7E19
ΔE00 5.10
Darkgreen
#006400
ΔE00 5.10
Green
#008000
ΔE00 5.99
Jungle Green
#048243
ΔE00 7.40
Dark Grass Green
#388004
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12721F #721265
analogous
#357212 #12721F #12724F
triadic
#12721F #1F1272 #721F12
tetradic
#12721F #123572 #721265 #724F12
square
#12721F #123572 #721265 #724F12
split-complementary
#12721F #4F1272 #721235
monochromatic
#041A07 #0A3D11 #12721F #1AA72D #23DC3C
Accessibility & contrast
On white
6.08
#12721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#12721F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12721F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12721F | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #12721f; /* rgb */ color: rgb(18, 114, 31); /* oklch */ color: oklch(48.2% 0.145 144.5);
Tailwind
colors: {
custom: {
50: '#649c60',
500: '#12721f',
950: '#000000',
},
}SCSS
$custom: #12721f; $custom-light: #649c60; $custom-dark: #000000;
JSON
{
"hex": "#12721f",
"rgb": {
"r": 18,
"g": 114,
"b": 31
},
"hsl": {
"h": 128.125,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48242,
"c": 0.14532,
"h": 144.5
},
"luminance": 0.12262
}Semantic roles & 50–950 ramp
primary
#12721F
secondary
#A93799
accent
#38D7EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79