#0F6012#0F6012
#0F6012 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.133 H 143.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #0F6012 |
|---|---|
| RGB | rgb(15, 96, 18) |
| HSL | hsl(122, 73%, 22%) |
| HSV | hsv(122, 84%, 38%) |
| CMYK | cmyk(84.4%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.02, -39.20, 35.39) |
| CIE-LCH | lch(35.02, 52.81, 137.92°) |
| OKLab | oklab(42.7% -0.1063 0.0796) |
| OKLCH | oklch(42.7% 0.133 143.2) |
| XYZ | xyz(4.4888, 8.5104, 1.9783) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.34
Darkgreen
#006400
ΔE00 2.48
Forest
#0B5509
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 5.51
Bottle Green
#044A05
ΔE00 6.89
Darkgreen (survey)
#054907
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F6012 #600F5D
analogous
#35600F #0F6012 #0F603B
triadic
#0F6012 #120F60 #60120F
tetradic
#0F6012 #0F3560 #600F5D #603B0F
square
#0F6012 #0F3560 #600F5D #603B0F
split-complementary
#0F6012 #3B0F60 #600F35
monochromatic
#041A05 #072B08 #0F6012 #17951C #20CA26
Accessibility & contrast
On white
7.77
#0F6012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#0F6012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F6012
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F6012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F6012 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f6012; /* rgb */ color: rgb(15, 96, 18); /* oklch */ color: oklch(42.7% 0.133 143.2);
Tailwind
colors: {
custom: {
50: '#5f8e56',
500: '#0f6012',
950: '#000000',
},
}SCSS
$custom: #0f6012; $custom-light: #5f8e56; $custom-dark: #000000;
JSON
{
"hex": "#0f6012",
"rgb": {
"r": 15,
"g": 96,
"b": 18
},
"hsl": {
"h": 122.222,
"s": 72.973,
"l": 21.765
},
"oklch": {
"l": 0.42704,
"c": 0.13276,
"h": 143.2
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#0F6012
secondary
#993295
accent
#38E9F0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78