#0F5A27#0F5A27
#0F5A27 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.108 H 148.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A27 |
|---|---|
| RGB | rgb(15, 90, 39) |
| HSL | hsl(139, 71%, 21%) |
| HSV | hsv(139, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 56.7%, 64.7%) |
| CIE-LAB | lab(33.05, -34.38, 23.13) |
| CIE-LCH | lch(33.05, 41.44, 146.07°) |
| OKLab | oklab(41.13% -0.0924 0.0557) |
| OKLCH | oklch(41.13% 0.108 148.9) |
| XYZ | xyz(4.2190, 7.5599, 3.1559) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.73
Pine
#2B5D34
ΔE00 3.75
Spruce
#0A5F38
ΔE00 4.00
Deep Green
#02590F
ΔE00 4.38
Forest
#0B5509
ΔE00 5.10
Pine Green
#0A481E
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A27 #5A0F42
analogous
#1C5A0F #0F5A27 #0F5A4C
triadic
#0F5A27 #270F5A #5A270F
tetradic
#0F5A27 #0F1C5A #5A0F42 #5A4C0F
square
#0F5A27 #0F1C5A #5A0F42 #5A4C0F
split-complementary
#0F5A27 #4C0F5A #5A0F1C
monochromatic
#041A0B #062610 #0F5A27 #188E3E #20C354
Accessibility & contrast
On white
8.36
#0F5A27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#0F5A27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A27
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A27 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5123
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a27; /* rgb */ color: rgb(15, 90, 39); /* oklch */ color: oklch(41.1% 0.108 148.9);
Tailwind
colors: {
custom: {
50: '#5c8962',
500: '#0f5a27',
950: '#000000',
},
}SCSS
$custom: #0f5a27; $custom-light: #5c8962; $custom-dark: #000000;
JSON
{
"hex": "#0f5a27",
"rgb": {
"r": 15,
"g": 90,
"b": 39
},
"hsl": {
"h": 139.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41133,
"c": 0.10789,
"h": 148.9
},
"luminance": 0.0756
}Semantic roles & 50–950 ramp
primary
#0F5A27
secondary
#943174
accent
#3AB4EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79