#0F5C27#0F5C27
#0F5C27 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.111 H 148.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C27 |
|---|---|
| RGB | rgb(15, 92, 39) |
| HSL | hsl(139, 72%, 21%) |
| HSV | hsv(139, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 57.6%, 63.9%) |
| CIE-LAB | lab(33.78, -35.16, 24.02) |
| CIE-LCH | lch(33.78, 42.58, 145.66°) |
| OKLab | oklab(41.74% -0.0945 0.0577) |
| OKLCH | oklch(41.74% 0.111 148.6) |
| XYZ | xyz(4.3900, 7.9018, 3.2129) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.76
Pine
#2B5D34
ΔE00 3.89
Spruce
#0A5F38
ΔE00 4.12
Deep Green
#02590F
ΔE00 4.14
Forest
#0B5509
ΔE00 5.02
Hunter Green
#355E3B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C27 #5C0F44
analogous
#1D5C0F #0F5C27 #0F5C4D
triadic
#0F5C27 #270F5C #5C270F
tetradic
#0F5C27 #0F1D5C #5C0F44 #5C4D0F
square
#0F5C27 #0F1D5C #5C0F44 #5C4D0F
split-complementary
#0F5C27 #4D0F5C #5C0F1D
monochromatic
#041A0B #062711 #0F5C27 #18913D #20C554
Accessibility & contrast
On white
8.14
#0F5C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#0F5C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C27
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C27 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5322
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c27; /* rgb */ color: rgb(15, 92, 39); /* oklch */ color: oklch(41.7% 0.111 148.6);
Tailwind
colors: {
custom: {
50: '#5d8b62',
500: '#0f5c27',
950: '#000000',
},
}SCSS
$custom: #0f5c27; $custom-light: #5d8b62; $custom-dark: #000000;
JSON
{
"hex": "#0f5c27",
"rgb": {
"r": 15,
"g": 92,
"b": 39
},
"hsl": {
"h": 138.701,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41737,
"c": 0.1107,
"h": 148.6
},
"luminance": 0.07902
}Semantic roles & 50–950 ramp
primary
#0F5C27
secondary
#953176
accent
#39B6EF
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79