#0F5A1F#0F5A1F
#0F5A1F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.0% C 0.115 H 146.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A1F |
|---|---|
| RGB | rgb(15, 90, 31) |
| HSL | hsl(133, 71%, 21%) |
| HSV | hsv(133, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 65.6%, 64.7%) |
| CIE-LAB | lab(32.95, -35.62, 27.32) |
| CIE-LCH | lch(32.95, 44.89, 142.51°) |
| OKLab | oklab(41.02% -0.0959 0.0642) |
| OKLCH | oklch(41.02% 0.115 146.2) |
| XYZ | xyz(4.1002, 7.5123, 2.5300) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.59
Forest
#0B5509
ΔE00 3.41
Forest Green
#2D5A27
ΔE00 3.63
Pine
#2B5D34
ΔE00 4.95
Bottle Green
#044A05
ΔE00 5.49
Darkgreen (survey)
#054907
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A1F #5A0F4A
analogous
#245A0F #0F5A1F #0F5A44
triadic
#0F5A1F #1F0F5A #5A1F0F
tetradic
#0F5A1F #0F245A #5A0F4A #5A440F
square
#0F5A1F #0F245A #5A0F4A #5A440F
split-complementary
#0F5A1F #440F5A #5A0F24
monochromatic
#041A09 #06260D #0F5A1F #188E31 #20C343
Accessibility & contrast
On white
8.39
#0F5A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#0F5A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A1F
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A1F | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5119
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0f5a1f; /* rgb */ color: rgb(15, 90, 31); /* oklch */ color: oklch(41.0% 0.115 146.2);
Tailwind
colors: {
custom: {
50: '#5c895d',
500: '#0f5a1f',
950: '#000000',
},
}SCSS
$custom: #0f5a1f; $custom-light: #5c895d; $custom-dark: #000000;
JSON
{
"hex": "#0f5a1f",
"rgb": {
"r": 15,
"g": 90,
"b": 31
},
"hsl": {
"h": 132.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41015,
"c": 0.11543,
"h": 146.2
},
"luminance": 0.07513
}Semantic roles & 50–950 ramp
primary
#0F5A1F
secondary
#94317F
accent
#3AC8EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79