#0F5A38#0F5A38
#0F5A38 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.5% C 0.090 H 157.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A38 |
|---|---|
| RGB | rgb(15, 90, 56) |
| HSL | hsl(153, 71%, 21%) |
| HSV | hsv(153, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 37.8%, 64.7%) |
| CIE-LAB | lab(33.35, -30.94, 13.53) |
| CIE-LCH | lch(33.35, 33.77, 156.38°) |
| OKLab | oklab(41.48% -0.0837 0.034) |
| OKLCH | oklch(41.48% 0.09 157.9) |
| XYZ | xyz(4.5665, 7.6989, 4.9860) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.01
Pine
#2B5D34
ΔE00 4.09
Hunter Green
#355E3B
ΔE00 5.02
Evergreen
#05472A
ΔE00 5.98
Pine Green
#0A481E
ΔE00 6.66
Forest Green
#2D5A27
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A38 #5A0F31
analogous
#0F5A12 #0F5A38 #0F565A
triadic
#0F5A38 #380F5A #5A380F
tetradic
#0F5A38 #120F5A #5A0F31 #565A0F
square
#0F5A38 #120F5A #5A0F31 #565A0F
split-complementary
#0F5A38 #5A0F56 #5A120F
monochromatic
#041A10 #062617 #0F5A38 #188E59 #20C379
Accessibility & contrast
On white
8.27
#0F5A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#0F5A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A38
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A38 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a38; /* rgb */ color: rgb(15, 90, 56); /* oklch */ color: oklch(41.5% 0.090 157.9);
Tailwind
colors: {
custom: {
50: '#5c896e',
500: '#0f5a38',
950: '#000000',
},
}SCSS
$custom: #0f5a38; $custom-light: #5c896e; $custom-dark: #000000;
JSON
{
"hex": "#0f5a38",
"rgb": {
"r": 15,
"g": 90,
"b": 56
},
"hsl": {
"h": 152.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41478,
"c": 0.09038,
"h": 157.9
},
"luminance": 0.07699
}Semantic roles & 50–950 ramp
primary
#0F5A38
secondary
#94315E
accent
#3A8BEE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A