#0F5315#0F5315
#0F5315 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.114 H 144.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5315 |
|---|---|
| RGB | rgb(15, 83, 21) |
| HSL | hsl(125, 69%, 19%) |
| HSV | hsv(125, 82%, 33%) |
| CMYK | cmyk(81.9%, 0%, 74.7%, 67.5%) |
| CIE-LAB | lab(30.26, -34.24, 29.26) |
| CIE-LCH | lch(30.26, 45.03, 139.48°) |
| OKLab | oklab(38.75% -0.0926 0.0672) |
| OKLCH | oklch(38.75% 0.114 144) |
| XYZ | xyz(3.4254, 6.3418, 1.7529) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.09
Deep Green
#02590F
ΔE00 2.54
Bottle Green
#044A05
ΔE00 3.07
Darkgreen (survey)
#054907
ΔE00 3.21
British Racing Green
#05480D
ΔE00 3.40
Forest Green (survey)
#06470C
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5315 #530F4D
analogous
#2B530F #0F5315 #0F5337
triadic
#0F5315 #150F53 #53150F
tetradic
#0F5315 #0F2B53 #530F4D #53370F
square
#0F5315 #0F2B53 #530F4D #53370F
split-complementary
#0F5315 #370F53 #530F2B
monochromatic
#051A07 #061F08 #0F5315 #188722 #22BB2F
Accessibility & contrast
On white
9.26
#0F5315 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0F5315 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5315
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5315 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#005146
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0f5315; /* rgb */ color: rgb(15, 83, 21); /* oklch */ color: oklch(38.8% 0.114 144.0);
Tailwind
colors: {
custom: {
50: '#5b8456',
500: '#0f5315',
950: '#000000',
},
}SCSS
$custom: #0f5315; $custom-light: #5b8456; $custom-dark: #000000;
JSON
{
"hex": "#0f5315",
"rgb": {
"r": 15,
"g": 83,
"b": 21
},
"hsl": {
"h": 125.294,
"s": 69.388,
"l": 19.216
},
"oklch": {
"l": 0.38751,
"c": 0.11442,
"h": 144
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#0F5315
secondary
#8D3185
accent
#3CDDEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78