#0F5A2E#0F5A2E
#0F5A2E is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.101 H 152.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A2E |
|---|---|
| RGB | rgb(15, 90, 46) |
| HSL | hsl(145, 71%, 21%) |
| HSV | hsv(145, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 48.9%, 64.7%) |
| CIE-LAB | lab(33.16, -33.10, 19.26) |
| CIE-LCH | lch(33.16, 38.29, 149.81°) |
| OKLab | oklab(41.26% -0.089 0.0473) |
| OKLCH | oklch(41.26% 0.101 152) |
| XYZ | xyz(4.3459, 7.6106, 3.8242) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.46
Pine
#2B5D34
ΔE00 3.17
Forest Green
#2D5A27
ΔE00 4.55
Hunter Green
#355E3B
ΔE00 5.19
Pine Green
#0A481E
ΔE00 5.67
Deep Green
#02590F
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A2E #5A0F3B
analogous
#155A0F #0F5A2E #0F5A53
triadic
#0F5A2E #2E0F5A #5A2E0F
tetradic
#0F5A2E #0F155A #5A0F3B #5A530F
square
#0F5A2E #0F155A #5A0F3B #5A530F
split-complementary
#0F5A2E #530F5A #5A0F15
monochromatic
#041A0D #062613 #0F5A2E #188E49 #20C364
Accessibility & contrast
On white
8.33
#0F5A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#0F5A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A2E
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A2E | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522B
Deuteranopia (green-blind)
#524C31
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a2e; /* rgb */ color: rgb(15, 90, 46); /* oklch */ color: oklch(41.3% 0.101 152.0);
Tailwind
colors: {
custom: {
50: '#5c8967',
500: '#0f5a2e',
950: '#000000',
},
}SCSS
$custom: #0f5a2e; $custom-light: #5c8967; $custom-dark: #000000;
JSON
{
"hex": "#0f5a2e",
"rgb": {
"r": 15,
"g": 90,
"b": 46
},
"hsl": {
"h": 144.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.4126,
"c": 0.10077,
"h": 152
},
"luminance": 0.07611
}Semantic roles & 50–950 ramp
primary
#0F5A2E
secondary
#94316B
accent
#3AA4EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A