#0F5112#0F5112
#0F5112 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.114 H 143.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5112 |
|---|---|
| RGB | rgb(15, 81, 18) |
| HSL | hsl(123, 69%, 19%) |
| HSV | hsv(123, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 77.8%, 68.2%) |
| CIE-LAB | lab(29.49, -33.80, 29.80) |
| CIE-LCH | lch(29.49, 45.07, 138.60°) |
| OKLab | oklab(38.1% -0.0916 0.0679) |
| OKLCH | oklch(38.1% 0.114 143.5) |
| XYZ | xyz(3.2484, 6.0297, 1.5648) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.13
Bottle Green
#044A05
ΔE00 2.40
Darkgreen (survey)
#054907
ΔE00 2.54
British Racing Green
#05480D
ΔE00 2.83
Deep Green
#02590F
ΔE00 2.93
Forest Green (survey)
#06470C
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5112 #510F4E
analogous
#2D510F #0F5112 #0F5133
triadic
#0F5112 #120F51 #51120F
tetradic
#0F5112 #0F2D51 #510F4E #51330F
square
#0F5112 #0F2D51 #510F4E #51330F
split-complementary
#0F5112 #330F51 #510F2D
monochromatic
#051A06 #051D07 #0F5112 #19851D #22B829
Accessibility & contrast
On white
9.52
#0F5112 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0F5112 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5112
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5112 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0f5112; /* rgb */ color: rgb(15, 81, 18); /* oklch */ color: oklch(38.1% 0.114 143.5);
Tailwind
colors: {
custom: {
50: '#5a8354',
500: '#0f5112',
950: '#000000',
},
}SCSS
$custom: #0f5112; $custom-light: #5a8354; $custom-dark: #000000;
JSON
{
"hex": "#0f5112",
"rgb": {
"r": 15,
"g": 81,
"b": 18
},
"hsl": {
"h": 122.727,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38102,
"c": 0.11402,
"h": 143.5
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#0F5112
secondary
#8B3187
accent
#3CE4EC
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040A03
muted
#797C78