#0F511C#0F511C
#0F511C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.106 H 146.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #0F511C |
|---|---|
| RGB | rgb(15, 81, 28) |
| HSL | hsl(132, 69%, 19%) |
| HSV | hsv(132, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(29.59, -32.59, 25.02) |
| CIE-LCH | lch(29.59, 41.08, 142.48°) |
| OKLab | oklab(38.22% -0.0878 0.059) |
| OKLCH | oklch(38.22% 0.106 146.1) |
| XYZ | xyz(3.3488, 6.0699, 2.0935) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 3.17
Forest Green (survey)
#06470C
ΔE00 3.47
Pine Green
#0A481E
ΔE00 3.58
Darkgreen (survey)
#054907
ΔE00 3.61
Bottle Green
#044A05
ΔE00 3.75
Forest
#0B5509
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F511C #510F44
analogous
#23510F #0F511C #0F513D
triadic
#0F511C #1C0F51 #511C0F
tetradic
#0F511C #0F2351 #510F44 #513D0F
square
#0F511C #0F2351 #510F44 #513D0F
split-complementary
#0F511C #3D0F51 #510F23
monochromatic
#051A09 #051D0A #0F511C #19852E #22B840
Accessibility & contrast
On white
9.49
#0F511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0F511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F511C
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F511C | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524916
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f511c; /* rgb */ color: rgb(15, 81, 28); /* oklch */ color: oklch(38.2% 0.106 146.1);
Tailwind
colors: {
custom: {
50: '#5a835a',
500: '#0f511c',
950: '#000000',
},
}SCSS
$custom: #0f511c; $custom-light: #5a835a; $custom-dark: #000000;
JSON
{
"hex": "#0f511c",
"rgb": {
"r": 15,
"g": 81,
"b": 28
},
"hsl": {
"h": 131.818,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38218,
"c": 0.10579,
"h": 146.1
},
"luminance": 0.0607
}Semantic roles & 50–950 ramp
primary
#0F511C
secondary
#8B3179
accent
#3CC9EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79