#1B5F15#1B5F15
#1B5F15 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.126 H 142.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5F15 |
|---|---|
| RGB | rgb(27, 95, 21) |
| HSL | hsl(115, 64%, 23%) |
| HSV | hsv(115, 78%, 37%) |
| CMYK | cmyk(71.6%, 0%, 77.9%, 62.7%) |
| CIE-LAB | lab(34.95, -36.34, 34.22) |
| CIE-LCH | lch(34.95, 49.92, 136.72°) |
| OKLab | oklab(42.72% -0.099 0.0775) |
| OKLCH | oklch(42.72% 0.126 142) |
| XYZ | xyz(4.6793, 8.4711, 2.0978) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.43
Darkgreen
#006400
ΔE00 3.17
Forest
#0B5509
ΔE00 3.28
Forest Green
#2D5A27
ΔE00 4.66
Bottle Green
#044A05
ΔE00 6.63
Navy Green
#35530A
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5F15 #59155F
analogous
#405F15 #1B5F15 #155F34
triadic
#1B5F15 #151B5F #5F151B
tetradic
#1B5F15 #15405F #59155F #5F3415
square
#1B5F15 #15405F #59155F #5F3415
split-complementary
#1B5F15 #34155F #5F1540
monochromatic
#071906 #0D2D0A #1B5F15 #299120 #37C32B
Accessibility & contrast
On white
7.79
#1B5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1B5F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5F15
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5F15 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615608
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#0C5C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1b5f15; /* rgb */ color: rgb(27, 95, 21); /* oklch */ color: oklch(42.7% 0.126 142.0);
Tailwind
colors: {
custom: {
50: '#638d58',
500: '#1b5f15',
950: '#000000',
},
}SCSS
$custom: #1b5f15; $custom-light: #638d58; $custom-dark: #000000;
JSON
{
"hex": "#1b5f15",
"rgb": {
"r": 27,
"g": 95,
"b": 21
},
"hsl": {
"h": 115.135,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42721,
"c": 0.12574,
"h": 142
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#1B5F15
secondary
#8F3A96
accent
#41E7D9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78