#0F5F1B#0F5F1B
#0F5F1B is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.125 H 144.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F1B |
|---|---|
| RGB | rgb(15, 95, 27) |
| HSL | hsl(129, 73%, 22%) |
| HSV | hsv(129, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 71.6%, 62.7%) |
| CIE-LAB | lab(34.73, -37.96, 31.28) |
| CIE-LCH | lch(34.73, 49.19, 140.52°) |
| OKLab | oklab(42.48% -0.1025 0.0722) |
| OKLCH | oklch(42.48% 0.125 144.8) |
| XYZ | xyz(4.4867, 8.3646, 2.4148) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.22
Forest
#0B5509
ΔE00 3.53
Darkgreen
#006400
ΔE00 3.97
Forest Green
#2D5A27
ΔE00 4.54
Pine
#2B5D34
ΔE00 6.13
Bottle Green
#044A05
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F1B #5F0F53
analogous
#2B5F0F #0F5F1B #0F5F43
triadic
#0F5F1B #1B0F5F #5F1B0F
tetradic
#0F5F1B #0F2B5F #5F0F53 #5F430F
square
#0F5F1B #0F2B5F #5F0F53 #5F430F
split-complementary
#0F5F1B #430F5F #5F0F2B
monochromatic
#041A08 #072A0C #0F5F1B #17942A #20C939
Accessibility & contrast
On white
7.86
#0F5F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0F5F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F1B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F1B | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f1b; /* rgb */ color: rgb(15, 95, 27); /* oklch */ color: oklch(42.5% 0.125 144.8);
Tailwind
colors: {
custom: {
50: '#5e8d5b',
500: '#0f5f1b',
950: '#000000',
},
}SCSS
$custom: #0f5f1b; $custom-light: #5e8d5b; $custom-dark: #000000;
JSON
{
"hex": "#0f5f1b",
"rgb": {
"r": 15,
"g": 95,
"b": 27
},
"hsl": {
"h": 129,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42484,
"c": 0.12535,
"h": 144.8
},
"luminance": 0.08365
}Semantic roles & 50–950 ramp
primary
#0F5F1B
secondary
#983289
accent
#38D4EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79