#12721C#12721C
#12721C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.147 H 144.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #12721C |
|---|---|
| RGB | rgb(18, 114, 28) |
| HSL | hsl(126, 73%, 26%) |
| HSV | hsv(126, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 75.4%, 55.3%) |
| CIE-LAB | lab(41.60, -44.08, 38.11) |
| CIE-LCH | lch(41.60, 58.27, 139.15°) |
| OKLab | oklab(48.22% -0.1192 0.0867) |
| OKLCH | oklch(48.22% 0.147 144) |
| XYZ | xyz(6.4759, 12.2463, 3.1208) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.89
Tree Green
#2A7E19
ΔE00 4.91
Darkgreen
#006400
ΔE00 4.94
Green
#008000
ΔE00 5.73
Dark Grass Green
#388004
ΔE00 7.29
Jungle Green
#048243
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12721C #721268
analogous
#387212 #12721C #12724C
triadic
#12721C #1C1272 #721C12
tetradic
#12721C #123872 #721268 #724C12
square
#12721C #123872 #721268 #724C12
split-complementary
#12721C #4C1272 #721238
monochromatic
#041A06 #0A3D0F #12721C #1AA729 #23DC36
Accessibility & contrast
On white
6.09
#12721C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#12721C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12721C
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12721C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12721C | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660D
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #12721c; /* rgb */ color: rgb(18, 114, 28); /* oklch */ color: oklch(48.2% 0.147 144.0);
Tailwind
colors: {
custom: {
50: '#649c5e',
500: '#12721c',
950: '#000000',
},
}SCSS
$custom: #12721c; $custom-light: #649c5e; $custom-dark: #000000;
JSON
{
"hex": "#12721c",
"rgb": {
"r": 18,
"g": 114,
"b": 28
},
"hsl": {
"h": 126.25,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48215,
"c": 0.14736,
"h": 144
},
"luminance": 0.12247
}Semantic roles & 50–950 ramp
primary
#12721C
secondary
#A9379D
accent
#38DCEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79