#0F5A2A#0F5A2A
#0F5A2A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.105 H 150.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A2A |
|---|---|
| RGB | rgb(15, 90, 42) |
| HSL | hsl(142, 71%, 21%) |
| HSV | hsv(142, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 53.3%, 64.7%) |
| CIE-LAB | lab(33.09, -33.85, 21.49) |
| CIE-LCH | lch(33.09, 40.10, 147.59°) |
| OKLab | oklab(41.19% -0.0909 0.0522) |
| OKLCH | oklch(41.19% 0.105 150.1) |
| XYZ | xyz(4.2707, 7.5805, 3.4281) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.33
Pine
#2B5D34
ΔE00 3.41
Forest Green
#2D5A27
ΔE00 4.00
Deep Green
#02590F
ΔE00 5.12
Hunter Green
#355E3B
ΔE00 5.61
Pine Green
#0A481E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A2A #5A0F3F
analogous
#195A0F #0F5A2A #0F5A4F
triadic
#0F5A2A #2A0F5A #5A2A0F
tetradic
#0F5A2A #0F195A #5A0F3F #5A4F0F
square
#0F5A2A #0F195A #5A0F3F #5A4F0F
split-complementary
#0F5A2A #4F0F5A #5A0F19
monochromatic
#041A0C #062612 #0F5A2A #188E42 #20C35B
Accessibility & contrast
On white
8.35
#0F5A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#0F5A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A2A
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A2A | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5126
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a2a; /* rgb */ color: rgb(15, 90, 42); /* oklch */ color: oklch(41.2% 0.105 150.1);
Tailwind
colors: {
custom: {
50: '#5c8964',
500: '#0f5a2a',
950: '#000000',
},
}SCSS
$custom: #0f5a2a; $custom-light: #5c8964; $custom-dark: #000000;
JSON
{
"hex": "#0f5a2a",
"rgb": {
"r": 15,
"g": 90,
"b": 42
},
"hsl": {
"h": 141.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41185,
"c": 0.10487,
"h": 150.1
},
"luminance": 0.07581
}Semantic roles & 50–950 ramp
primary
#0F5A2A
secondary
#943170
accent
#3AADEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A