#0F510C#0F510C
#0F510C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.118 H 142.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #0F510C |
|---|---|
| RGB | rgb(15, 81, 12) |
| HSL | hsl(117, 74%, 18%) |
| HSV | hsv(117, 85%, 32%) |
| CMYK | cmyk(81.5%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(29.44, -34.34, 32.18) |
| CIE-LCH | lch(29.44, 47.06, 136.85°) |
| OKLab | oklab(38.05% -0.0934 0.072) |
| OKLCH | oklch(38.05% 0.118 142.4) |
| XYZ | xyz(3.2056, 6.0126, 1.3394) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.49
Bottle Green
#044A05
ΔE00 2.19
Darkgreen (survey)
#054907
ΔE00 2.51
Deep Green
#02590F
ΔE00 2.71
British Racing Green
#05480D
ΔE00 3.15
Forest Green (survey)
#06470C
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F510C #4E0C51
analogous
#31510C #0F510C #0C512B
triadic
#0F510C #0C0F51 #510C0F
tetradic
#0F510C #0C3151 #4E0C51 #512B0C
square
#0F510C #0C3151 #4E0C51 #512B0C
split-complementary
#0F510C #2B0C51 #510C31
monochromatic
#051B04 #051C04 #0F510C #198614 #23BC1C
Accessibility & contrast
On white
9.53
#0F510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0F510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F510C
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F510C | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0f510c; /* rgb */ color: rgb(15, 81, 12); /* oklch */ color: oklch(38.1% 0.118 142.4);
Tailwind
colors: {
custom: {
50: '#5b8351',
500: '#0f510c',
950: '#000000',
},
}SCSS
$custom: #0f510c; $custom-light: #5b8351; $custom-dark: #000000;
JSON
{
"hex": "#0f510c",
"rgb": {
"r": 15,
"g": 81,
"b": 12
},
"hsl": {
"h": 117.391,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38053,
"c": 0.11787,
"h": 142.4
},
"luminance": 0.06013
}Semantic roles & 50–950 ramp
primary
#0F510C
secondary
#882C8C
accent
#37F1E9
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78