#12661F#12661F
#12661F is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.130 H 145.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #12661F |
|---|---|
| RGB | rgb(18, 102, 31) |
| HSL | hsl(129, 70%, 24%) |
| HSV | hsv(129, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 69.6%, 60%) |
| CIE-LAB | lab(37.35, -39.58, 32.28) |
| CIE-LCH | lch(37.35, 51.07, 140.80°) |
| OKLab | oklab(44.69% -0.1068 0.0748) |
| OKLCH | oklch(44.69% 0.13 145) |
| XYZ | xyz(5.2478, 9.7296, 2.8975) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.54
Deep Green
#02590F
ΔE00 4.27
Forest
#0B5509
ΔE00 5.58
Forest Green
#2D5A27
ΔE00 5.79
Pine
#2B5D34
ΔE00 6.88
Spruce
#0A5F38
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12661F #661259
analogous
#2F6612 #12661F #126649
triadic
#12661F #1F1266 #661F12
tetradic
#12661F #122F66 #661259 #664912
square
#12661F #122F66 #661259 #664912
split-complementary
#12661F #491266 #66122F
monochromatic
#051A08 #09320F #12661F #1B9A2F #24CE3F
Accessibility & contrast
On white
7.13
#12661F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#12661F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12661F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12661F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12661F | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#5F5525
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #12661f; /* rgb */ color: rgb(18, 102, 31); /* oklch */ color: oklch(44.7% 0.130 145.0);
Tailwind
colors: {
custom: {
50: '#61935e',
500: '#12661f',
950: '#000000',
},
}SCSS
$custom: #12661f; $custom-light: #61935e; $custom-dark: #000000;
JSON
{
"hex": "#12661f",
"rgb": {
"r": 18,
"g": 102,
"b": 31
},
"hsl": {
"h": 129.286,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44689,
"c": 0.13038,
"h": 145
},
"luminance": 0.0973
}Semantic roles & 50–950 ramp
primary
#12661F
secondary
#9E368E
accent
#3BD1ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79