#0F501C#0F501C
#0F501C is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.104 H 146.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #0F501C |
|---|---|
| RGB | rgb(15, 80, 28) |
| HSL | hsl(132, 68%, 19%) |
| HSV | hsv(132, 81%, 31%) |
| CMYK | cmyk(81.3%, 0%, 65%, 68.6%) |
| CIE-LAB | lab(29.22, -32.19, 24.59) |
| CIE-LCH | lch(29.22, 40.51, 142.63°) |
| OKLab | oklab(37.91% -0.0867 0.0581) |
| OKLCH | oklch(37.91% 0.104 146.2) |
| XYZ | xyz(3.2750, 5.9223, 2.0689) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 3.00
Pine Green
#0A481E
ΔE00 3.24
Forest Green (survey)
#06470C
ΔE00 3.28
Darkgreen (survey)
#054907
ΔE00 3.54
Bottle Green
#044A05
ΔE00 3.72
Forest
#0B5509
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F501C #500F43
analogous
#22500F #0F501C #0F503C
triadic
#0F501C #1C0F50 #501C0F
tetradic
#0F501C #0F2250 #500F43 #503C0F
square
#0F501C #0F2250 #500F43 #503C0F
split-complementary
#0F501C #3C0F50 #500F22
monochromatic
#051A09 #051C0A #0F501C #19842E #22B740
Accessibility & contrast
On white
9.61
#0F501C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#0F501C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F501C
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F501C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F501C | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514817
Deuteranopia (green-blind)
#4A4320
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0f501c; /* rgb */ color: rgb(15, 80, 28); /* oklch */ color: oklch(37.9% 0.104 146.2);
Tailwind
colors: {
custom: {
50: '#5a825a',
500: '#0f501c',
950: '#000000',
},
}SCSS
$custom: #0f501c; $custom-light: #5a825a; $custom-dark: #000000;
JSON
{
"hex": "#0f501c",
"rgb": {
"r": 15,
"g": 80,
"b": 28
},
"hsl": {
"h": 132,
"s": 68.421,
"l": 18.627
},
"oklch": {
"l": 0.3791,
"c": 0.10438,
"h": 146.2
},
"luminance": 0.05923
}Semantic roles & 50–950 ramp
primary
#0F501C
secondary
#8A3178
accent
#3DC8EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79