#0F5918#0F5918
#0F5918 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.120 H 144.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5918 |
|---|---|
| RGB | rgb(15, 89, 24) |
| HSL | hsl(127, 71%, 20%) |
| HSV | hsv(127, 83%, 35%) |
| CMYK | cmyk(83.1%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(32.51, -36.12, 30.27) |
| CIE-LCH | lch(32.51, 47.13, 140.04°) |
| OKLab | oklab(40.63% -0.0976 0.0697) |
| OKLCH | oklch(40.63% 0.12 144.5) |
| XYZ | xyz(3.9340, 7.3118, 2.0680) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.41
Forest
#0B5509
ΔE00 2.17
Forest Green
#2D5A27
ΔE00 4.02
Bottle Green
#044A05
ΔE00 4.77
Darkgreen (survey)
#054907
ΔE00 5.00
Darkgreen
#006400
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5918 #590F50
analogous
#2B590F #0F5918 #0F593D
triadic
#0F5918 #180F59 #59180F
tetradic
#0F5918 #0F2B59 #590F50 #593D0F
square
#0F5918 #0F2B59 #590F50 #593D0F
split-complementary
#0F5918 #3D0F59 #590F2B
monochromatic
#041A07 #06250A #0F5918 #188D26 #21C234
Accessibility & contrast
On white
8.53
#0F5918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#0F5918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5918
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5918 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0f5918; /* rgb */ color: rgb(15, 89, 24); /* oklch */ color: oklch(40.6% 0.120 144.5);
Tailwind
colors: {
custom: {
50: '#5c8958',
500: '#0f5918',
950: '#000000',
},
}SCSS
$custom: #0f5918; $custom-light: #5c8958; $custom-dark: #000000;
JSON
{
"hex": "#0f5918",
"rgb": {
"r": 15,
"g": 89,
"b": 24
},
"hsl": {
"h": 127.297,
"s": 71.154,
"l": 20.392
},
"oklch": {
"l": 0.40627,
"c": 0.11994,
"h": 144.5
},
"luminance": 0.07312
}Semantic roles & 50–950 ramp
primary
#0F5918
secondary
#933187
accent
#3AD8EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78