#0F5310#0F5310
#0F5310 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.118 H 143.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5310 |
|---|---|
| RGB | rgb(15, 83, 16) |
| HSL | hsl(121, 69%, 19%) |
| HSV | hsv(121, 82%, 33%) |
| CMYK | cmyk(81.9%, 0%, 80.7%, 67.5%) |
| CIE-LAB | lab(30.22, -34.74, 31.40) |
| CIE-LCH | lch(30.22, 46.82, 137.89°) |
| OKLab | oklab(38.7% -0.0942 0.0709) |
| OKLCH | oklch(38.7% 0.118 143) |
| XYZ | xyz(3.3836, 6.3251, 1.5327) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.30
Deep Green
#02590F
ΔE00 2.17
Bottle Green
#044A05
ΔE00 2.82
Darkgreen (survey)
#054907
ΔE00 3.08
British Racing Green
#05480D
ΔE00 3.56
Forest Green (survey)
#06470C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5310 #530F52
analogous
#30530F #0F5310 #0F5332
triadic
#0F5310 #100F53 #53100F
tetradic
#0F5310 #0F3053 #530F52 #53320F
square
#0F5310 #0F3053 #530F52 #53320F
split-complementary
#0F5310 #320F53 #530F30
monochromatic
#051A05 #061F06 #0F5310 #18871A #22BB24
Accessibility & contrast
On white
9.27
#0F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0F5310 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5310
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5310 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0f5310; /* rgb */ color: rgb(15, 83, 16); /* oklch */ color: oklch(38.7% 0.118 143.0);
Tailwind
colors: {
custom: {
50: '#5b8453',
500: '#0f5310',
950: '#000000',
},
}SCSS
$custom: #0f5310; $custom-light: #5b8453; $custom-dark: #000000;
JSON
{
"hex": "#0f5310",
"rgb": {
"r": 15,
"g": 83,
"b": 16
},
"hsl": {
"h": 120.882,
"s": 69.388,
"l": 19.216
},
"oklch": {
"l": 0.38704,
"c": 0.11796,
"h": 143
},
"luminance": 0.06325
}Semantic roles & 50–950 ramp
primary
#0F5310
secondary
#8D318C
accent
#3CEAEC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B03
muted
#797C78