#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
RGBrgb(15, 90, 56)
HSLhsl(153, 71%, 21%)
HSVhsv(153, 83%, 35%)
CMYKcmyk(83.3%, 0%, 37.8%, 64.7%)
CIE-LABlab(33.35, -30.94, 13.53)
CIE-LCHlch(33.35, 33.77, 156.38°)
OKLaboklab(41.48% -0.0837 0.034)
OKLCHoklch(41.48% 0.09 157.9)
XYZxyz(4.5665, 7.6989, 4.9860)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

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
##0F5A381.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.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

Preview Lab

Preview with #0F5A38

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F5A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva