#0F5A16#0F5A16
#0F5A16 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.123 H 144.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A16 |
|---|---|
| RGB | rgb(15, 90, 22) |
| HSL | hsl(126, 71%, 21%) |
| HSV | hsv(126, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 75.6%, 64.7%) |
| CIE-LAB | lab(32.86, -36.70, 31.55) |
| CIE-LCH | lch(32.86, 48.40, 139.32°) |
| OKLab | oklab(40.91% -0.0993 0.0721) |
| OKLCH | oklch(40.91% 0.123 144) |
| XYZ | xyz(3.9977, 7.4713, 1.9903) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.05
Forest
#0B5509
ΔE00 2.03
Forest Green
#2D5A27
ΔE00 4.27
Darkgreen
#006400
ΔE00 4.64
Bottle Green
#044A05
ΔE00 5.00
Darkgreen (survey)
#054907
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A16 #5A0F53
analogous
#2D5A0F #0F5A16 #0F5A3B
triadic
#0F5A16 #160F5A #5A160F
tetradic
#0F5A16 #0F2D5A #5A0F53 #5A3B0F
square
#0F5A16 #0F2D5A #5A0F53 #5A3B0F
split-complementary
#0F5A16 #3B0F5A #5A0F2D
monochromatic
#041A06 #062609 #0F5A16 #188E23 #20C330
Accessibility & contrast
On white
8.42
#0F5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#0F5A16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A16
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A16 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0f5a16; /* rgb */ color: rgb(15, 90, 22); /* oklch */ color: oklch(40.9% 0.123 144.0);
Tailwind
colors: {
custom: {
50: '#5d8957',
500: '#0f5a16',
950: '#000000',
},
}SCSS
$custom: #0f5a16; $custom-light: #5d8957; $custom-dark: #000000;
JSON
{
"hex": "#0f5a16",
"rgb": {
"r": 15,
"g": 90,
"b": 22
},
"hsl": {
"h": 125.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.40912,
"c": 0.12272,
"h": 144
},
"luminance": 0.07472
}Semantic roles & 50–950 ramp
primary
#0F5A16
secondary
#94318A
accent
#3ADDEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78