#0F5C2D#0F5C2D
#0F5C2D is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.105 H 151.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2D |
|---|---|
| RGB | rgb(15, 92, 45) |
| HSL | hsl(143, 72%, 21%) |
| HSV | hsv(143, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 51.1%, 63.9%) |
| CIE-LAB | lab(33.87, -34.10, 20.74) |
| CIE-LCH | lch(33.87, 39.91, 148.69°) |
| OKLab | oklab(41.84% -0.0916 0.0507) |
| OKLCH | oklch(41.84% 0.105 151) |
| XYZ | xyz(4.4974, 7.9448, 3.7786) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.69
Pine
#2B5D34
ΔE00 3.21
Forest Green
#2D5A27
ΔE00 4.28
Hunter Green
#355E3B
ΔE00 5.37
Deep Green
#02590F
ΔE00 5.59
Pine Green
#0A481E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2D #5C0F3E
analogous
#175C0F #0F5C2D #0F5C53
triadic
#0F5C2D #2D0F5C #5C2D0F
tetradic
#0F5C2D #0F175C #5C0F3E #5C530F
square
#0F5C2D #0F175C #5C0F3E #5C530F
split-complementary
#0F5C2D #530F5C #5C0F17
monochromatic
#041A0D #062713 #0F5C2D #189147 #20C560
Accessibility & contrast
On white
8.11
#0F5C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#0F5C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2D
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2D | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#544D30
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2d; /* rgb */ color: rgb(15, 92, 45); /* oklch */ color: oklch(41.8% 0.105 151.0);
Tailwind
colors: {
custom: {
50: '#5c8b67',
500: '#0f5c2d',
950: '#000000',
},
}SCSS
$custom: #0f5c2d; $custom-light: #5c8b67; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2d",
"rgb": {
"r": 15,
"g": 92,
"b": 45
},
"hsl": {
"h": 143.377,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41841,
"c": 0.10469,
"h": 151
},
"luminance": 0.07945
}Semantic roles & 50–950 ramp
primary
#0F5C2D
secondary
#95316E
accent
#39A8EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A