#1B5F12#1B5F12
#1B5F12 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.128 H 141.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5F12 |
|---|---|
| RGB | rgb(27, 95, 18) |
| HSL | hsl(113, 68%, 22%) |
| HSV | hsv(113, 81%, 37%) |
| CMYK | cmyk(71.6%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.92, -36.59, 35.38) |
| CIE-LCH | lch(34.92, 50.90, 135.96°) |
| OKLab | oklab(42.7% -0.0999 0.0795) |
| OKLCH | oklch(42.7% 0.128 141.5) |
| XYZ | xyz(4.6531, 8.4606, 1.9600) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.54
Darkgreen
#006400
ΔE00 2.88
Forest
#0B5509
ΔE00 3.29
Forest Green
#2D5A27
ΔE00 4.98
Navy Green
#35530A
ΔE00 6.63
Bottle Green
#044A05
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5F12 #56125F
analogous
#425F12 #1B5F12 #125F30
triadic
#1B5F12 #121B5F #5F121B
tetradic
#1B5F12 #12425F #56125F #5F3012
square
#1B5F12 #12425F #56125F #5F3012
split-complementary
#1B5F12 #30125F #5F1242
monochromatic
#071A05 #0C2C08 #1B5F12 #2A921C #38C625
Accessibility & contrast
On white
7.80
#1B5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1B5F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5F12
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5F12 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625503
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#0D5C50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1b5f12; /* rgb */ color: rgb(27, 95, 18); /* oklch */ color: oklch(42.7% 0.128 141.5);
Tailwind
colors: {
custom: {
50: '#638d56',
500: '#1b5f12',
950: '#000000',
},
}SCSS
$custom: #1b5f12; $custom-light: #638d56; $custom-dark: #000000;
JSON
{
"hex": "#1b5f12",
"rgb": {
"r": 27,
"g": 95,
"b": 18
},
"hsl": {
"h": 112.987,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42697,
"c": 0.12763,
"h": 141.5
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#1B5F12
secondary
#8C3697
accent
#3DEBD7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78