#0F5C1A#0F5C1A
#0F5C1A is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.122 H 144.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C1A |
|---|---|
| RGB | rgb(15, 92, 26) |
| HSL | hsl(129, 72%, 21%) |
| HSV | hsv(129, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 71.7%, 63.9%) |
| CIE-LAB | lab(33.63, -36.99, 30.55) |
| CIE-LCH | lch(33.63, 47.97, 140.45°) |
| OKLab | oklab(41.56% -0.0999 0.0705) |
| OKLCH | oklch(41.56% 0.122 144.8) |
| XYZ | xyz(4.2103, 7.8299, 2.2665) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.65
Forest
#0B5509
ΔE00 2.82
Forest Green
#2D5A27
ΔE00 4.14
Darkgreen
#006400
ΔE00 4.60
Bottle Green
#044A05
ΔE00 5.70
Pine
#2B5D34
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C1A #5C0F51
analogous
#2A5C0F #0F5C1A #0F5C40
triadic
#0F5C1A #1A0F5C #5C1A0F
tetradic
#0F5C1A #0F2A5C #5C0F51 #5C400F
square
#0F5C1A #0F2A5C #5C0F51 #5C400F
split-complementary
#0F5C1A #400F5C #5C0F2A
monochromatic
#041A07 #06270B #0F5C1A #189129 #20C538
Accessibility & contrast
On white
8.18
#0F5C1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#0F5C1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C1A
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C1A | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5311
Deuteranopia (green-blind)
#554D20
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c1a; /* rgb */ color: rgb(15, 92, 26); /* oklch */ color: oklch(41.6% 0.122 144.8);
Tailwind
colors: {
custom: {
50: '#5d8b5a',
500: '#0f5c1a',
950: '#000000',
},
}SCSS
$custom: #0f5c1a; $custom-light: #5d8b5a; $custom-dark: #000000;
JSON
{
"hex": "#0f5c1a",
"rgb": {
"r": 15,
"g": 92,
"b": 26
},
"hsl": {
"h": 128.571,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41563,
"c": 0.12226,
"h": 144.8
},
"luminance": 0.0783
}Semantic roles & 50–950 ramp
primary
#0F5C1A
secondary
#953187
accent
#39D5EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79