#0F5C1B#0F5C1B
#0F5C1B is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.121 H 145.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C1B |
|---|---|
| RGB | rgb(15, 92, 27) |
| HSL | hsl(129, 72%, 21%) |
| HSV | hsv(129, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 70.7%, 63.9%) |
| CIE-LAB | lab(33.64, -36.87, 30.08) |
| CIE-LCH | lch(33.64, 47.59, 140.79°) |
| OKLab | oklab(41.57% -0.0995 0.0697) |
| OKLCH | oklch(41.57% 0.121 145) |
| XYZ | xyz(4.2217, 7.8345, 2.3264) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.80
Forest
#0B5509
ΔE00 2.94
Forest Green
#2D5A27
ΔE00 4.06
Darkgreen
#006400
ΔE00 4.76
Bottle Green
#044A05
ΔE00 5.73
Pine
#2B5D34
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C1B #5C0F50
analogous
#295C0F #0F5C1B #0F5C41
triadic
#0F5C1B #1B0F5C #5C1B0F
tetradic
#0F5C1B #0F295C #5C0F50 #5C410F
square
#0F5C1B #0F295C #5C0F50 #5C410F
split-complementary
#0F5C1B #410F5C #5C0F29
monochromatic
#041A08 #06270C #0F5C1B #18912A #20C53A
Accessibility & contrast
On white
8.18
#0F5C1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#0F5C1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C1B
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C1B | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c1b; /* rgb */ color: rgb(15, 92, 27); /* oklch */ color: oklch(41.6% 0.121 145.0);
Tailwind
colors: {
custom: {
50: '#5d8b5b',
500: '#0f5c1b',
950: '#000000',
},
}SCSS
$custom: #0f5c1b; $custom-light: #5d8b5b; $custom-dark: #000000;
JSON
{
"hex": "#0f5c1b",
"rgb": {
"r": 15,
"g": 92,
"b": 27
},
"hsl": {
"h": 129.351,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41574,
"c": 0.12147,
"h": 145
},
"luminance": 0.07835
}Semantic roles & 50–950 ramp
primary
#0F5C1B
secondary
#953186
accent
#39D2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79