#0F5C12#0F5C12
#0F5C12 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.5% C 0.128 H 143.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C12 |
|---|---|
| RGB | rgb(15, 92, 18) |
| HSL | hsl(122, 72%, 21%) |
| HSV | hsv(122, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 80.4%, 63.9%) |
| CIE-LAB | lab(33.56, -37.80, 33.94) |
| CIE-LCH | lch(33.56, 50.80, 138.08°) |
| OKLab | oklab(41.49% -0.1024 0.0766) |
| OKLCH | oklch(41.49% 0.128 143.2) |
| XYZ | xyz(4.1331, 7.7990, 1.8597) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.14
Forest
#0B5509
ΔE00 2.24
Darkgreen
#006400
ΔE00 3.59
Forest Green
#2D5A27
ΔE00 4.87
Bottle Green
#044A05
ΔE00 5.59
Darkgreen (survey)
#054907
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C12 #5C0F59
analogous
#325C0F #0F5C12 #0F5C38
triadic
#0F5C12 #120F5C #5C120F
tetradic
#0F5C12 #0F325C #5C0F59 #5C380F
square
#0F5C12 #0F325C #5C0F59 #5C380F
split-complementary
#0F5C12 #380F5C #5C0F32
monochromatic
#041A05 #062708 #0F5C12 #18911C #20C527
Accessibility & contrast
On white
8.20
#0F5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#0F5C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C12
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C12 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5204
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c12; /* rgb */ color: rgb(15, 92, 18); /* oklch */ color: oklch(41.5% 0.128 143.2);
Tailwind
colors: {
custom: {
50: '#5e8b56',
500: '#0f5c12',
950: '#000000',
},
}SCSS
$custom: #0f5c12; $custom-light: #5e8b56; $custom-dark: #000000;
JSON
{
"hex": "#0f5c12",
"rgb": {
"r": 15,
"g": 92,
"b": 18
},
"hsl": {
"h": 122.338,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41487,
"c": 0.12789,
"h": 143.2
},
"luminance": 0.078
}Semantic roles & 50–950 ramp
primary
#0F5C12
secondary
#953192
accent
#39E8EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78