#0F5F12#0F5F12
#0F5F12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.132 H 143.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F12 |
|---|---|
| RGB | rgb(15, 95, 18) |
| HSL | hsl(122, 73%, 22%) |
| HSV | hsv(122, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.66, -38.85, 35.03) |
| CIE-LCH | lch(34.66, 52.32, 137.96°) |
| OKLab | oklab(42.4% -0.1053 0.0788) |
| OKLCH | oklch(42.4% 0.132 143.2) |
| XYZ | xyz(4.3981, 8.3291, 1.9480) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.02
Darkgreen
#006400
ΔE00 2.74
Forest
#0B5509
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 5.33
Bottle Green
#044A05
ΔE00 6.56
Darkgreen (survey)
#054907
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F12 #5F0F5C
analogous
#345F0F #0F5F12 #0F5F3A
triadic
#0F5F12 #120F5F #5F120F
tetradic
#0F5F12 #0F345F #5F0F5C #5F3A0F
square
#0F5F12 #0F345F #5F0F5C #5F3A0F
split-complementary
#0F5F12 #3A0F5F #5F0F34
monochromatic
#041A05 #072A08 #0F5F12 #17941C #20C926
Accessibility & contrast
On white
7.88
#0F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0F5F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F12
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F12 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5f12; /* rgb */ color: rgb(15, 95, 18); /* oklch */ color: oklch(42.4% 0.132 143.2);
Tailwind
colors: {
custom: {
50: '#5f8d56',
500: '#0f5f12',
950: '#000000',
},
}SCSS
$custom: #0f5f12; $custom-light: #5f8d56; $custom-dark: #000000;
JSON
{
"hex": "#0f5f12",
"rgb": {
"r": 15,
"g": 95,
"b": 18
},
"hsl": {
"h": 122.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42401,
"c": 0.13155,
"h": 143.2
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#0F5F12
secondary
#983294
accent
#38E9EF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78