#0F5B1F#0F5B1F
#0F5B1F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.3% C 0.117 H 146.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B1F |
|---|---|
| RGB | rgb(15, 91, 31) |
| HSL | hsl(133, 72%, 21%) |
| HSV | hsv(133, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 65.9%, 64.3%) |
| CIE-LAB | lab(33.31, -35.99, 27.74) |
| CIE-LCH | lch(33.31, 45.44, 142.38°) |
| OKLab | oklab(41.32% -0.0969 0.0651) |
| OKLCH | oklch(41.32% 0.117 146.1) |
| XYZ | xyz(4.1851, 7.6822, 2.5583) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.51
Forest
#0B5509
ΔE00 3.44
Forest Green
#2D5A27
ΔE00 3.70
Pine
#2B5D34
ΔE00 5.02
Darkgreen
#006400
ΔE00 5.71
Bottle Green
#044A05
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B1F #5B0F4B
analogous
#255B0F #0F5B1F #0F5B45
triadic
#0F5B1F #1F0F5B #5B1F0F
tetradic
#0F5B1F #0F255B #5B0F4B #5B450F
square
#0F5B1F #0F255B #5B0F4B #5B450F
split-complementary
#0F5B1F #450F5B #5B0F25
monochromatic
#041A09 #06260D #0F5B1F #189031 #20C443
Accessibility & contrast
On white
8.28
#0F5B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#0F5B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B1F
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B1F | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5218
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5b1f; /* rgb */ color: rgb(15, 91, 31); /* oklch */ color: oklch(41.3% 0.117 146.1);
Tailwind
colors: {
custom: {
50: '#5d8a5d',
500: '#0f5b1f',
950: '#000000',
},
}SCSS
$custom: #0f5b1f; $custom-light: #5d8a5d; $custom-dark: #000000;
JSON
{
"hex": "#0f5b1f",
"rgb": {
"r": 15,
"g": 91,
"b": 31
},
"hsl": {
"h": 132.632,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41318,
"c": 0.11678,
"h": 146.1
},
"luminance": 0.07683
}Semantic roles & 50–950 ramp
primary
#0F5B1F
secondary
#953180
accent
#39C8EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79