#0F5A1B#0F5A1B
#0F5A1B is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.0% C 0.119 H 145.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A1B |
|---|---|
| RGB | rgb(15, 90, 27) |
| HSL | hsl(130, 71%, 21%) |
| HSV | hsv(130, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 70%, 64.7%) |
| CIE-LAB | lab(32.90, -36.14, 29.27) |
| CIE-LCH | lch(32.90, 46.51, 140.99°) |
| OKLab | oklab(40.97% -0.0975 0.068) |
| OKLCH | oklch(40.97% 0.119 145.1) |
| XYZ | xyz(4.0507, 7.4925, 2.2694) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.82
Forest
#0B5509
ΔE00 2.71
Forest Green
#2D5A27
ΔE00 3.85
Bottle Green
#044A05
ΔE00 5.19
Darkgreen
#006400
ΔE00 5.33
Darkgreen (survey)
#054907
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A1B #5A0F4E
analogous
#285A0F #0F5A1B #0F5A40
triadic
#0F5A1B #1B0F5A #5A1B0F
tetradic
#0F5A1B #0F285A #5A0F4E #5A400F
square
#0F5A1B #0F285A #5A0F4E #5A400F
split-complementary
#0F5A1B #400F5A #5A0F28
monochromatic
#041A08 #06260B #0F5A1B #188E2B #20C33A
Accessibility & contrast
On white
8.40
#0F5A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#0F5A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A1B
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A1B | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0f5a1b; /* rgb */ color: rgb(15, 90, 27); /* oklch */ color: oklch(41.0% 0.119 145.1);
Tailwind
colors: {
custom: {
50: '#5d895a',
500: '#0f5a1b',
950: '#000000',
},
}SCSS
$custom: #0f5a1b; $custom-light: #5d895a; $custom-dark: #000000;
JSON
{
"hex": "#0f5a1b",
"rgb": {
"r": 15,
"g": 90,
"b": 27
},
"hsl": {
"h": 129.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.40965,
"c": 0.11885,
"h": 145.1
},
"luminance": 0.07493
}Semantic roles & 50–950 ramp
primary
#0F5A1B
secondary
#943184
accent
#3AD1EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79