#0F5F23#0F5F23
#0F5F23 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.119 H 146.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F23 |
|---|---|
| RGB | rgb(15, 95, 35) |
| HSL | hsl(135, 73%, 22%) |
| HSV | hsv(135, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 63.2%, 62.7%) |
| CIE-LAB | lab(34.82, -36.93, 27.41) |
| CIE-LCH | lch(34.82, 45.99, 143.42°) |
| OKLab | oklab(42.58% -0.0993 0.0648) |
| OKLCH | oklch(42.58% 0.119 146.9) |
| XYZ | xyz(4.5922, 8.4068, 2.9704) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.27
Forest Green
#2D5A27
ΔE00 4.07
Forest
#0B5509
ΔE00 4.46
Pine
#2B5D34
ΔE00 4.90
Spruce
#0A5F38
ΔE00 5.37
Darkgreen
#006400
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F23 #5F0F4B
analogous
#235F0F #0F5F23 #0F5F4B
triadic
#0F5F23 #230F5F #5F230F
tetradic
#0F5F23 #0F235F #5F0F4B #5F4B0F
square
#0F5F23 #0F235F #5F0F4B #5F4B0F
split-complementary
#0F5F23 #4B0F5F #5F0F23
monochromatic
#041A0A #072A10 #0F5F23 #179436 #20C94A
Accessibility & contrast
On white
7.83
#0F5F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F23
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F23 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f23; /* rgb */ color: rgb(15, 95, 35); /* oklch */ color: oklch(42.6% 0.119 146.9);
Tailwind
colors: {
custom: {
50: '#5e8d60',
500: '#0f5f23',
950: '#000000',
},
}SCSS
$custom: #0f5f23; $custom-light: #5e8d60; $custom-dark: #000000;
JSON
{
"hex": "#0f5f23",
"rgb": {
"r": 15,
"g": 95,
"b": 35
},
"hsl": {
"h": 135,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42582,
"c": 0.11859,
"h": 146.9
},
"luminance": 0.08407
}Semantic roles & 50–950 ramp
primary
#0F5F23
secondary
#98327F
accent
#38C2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79