#0F5038#0F5038

#0F5038 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.5% C 0.076 H 163.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#0F5038
RGBrgb(15, 80, 56)
HSLhsl(158, 68%, 19%)
HSVhsv(158, 81%, 31%)
CMYKcmyk(81.3%, 0%, 30%, 68.6%)
CIE-LABlab(29.72, -26.43, 8.56)
CIE-LCHlch(29.72, 27.78, 162.06°)
OKLaboklab(38.49% -0.0724 0.0218)
OKLCHoklch(38.49% 0.076 163.2)
XYZxyz(3.7791, 6.1240, 4.7235)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5038 #500F27
analogous
#0F5017 #0F5038 #0F4750
triadic
#0F5038 #380F50 #50380F
tetradic
#0F5038 #170F50 #500F27 #47500F
square
#0F5038 #170F50 #500F27 #47500F
split-complementary
#0F5038 #500F47 #50170F
monochromatic
#051A12 #051C14 #0F5038 #19845C #22B780

Accessibility & contrast

On white

9.44
#0F5038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0F5038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5038
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5038#FFFFFF#000000##FFFFFF
##0F50381.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4937
Deuteranopia (green-blind)
#46443A
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5038;
/* rgb */ color: rgb(15, 80, 56);
/* oklch */ color: oklch(38.5% 0.076 163.2);
Tailwind
colors: {
  custom: {
    50: '#59826e',
    500: '#0f5038',
    950: '#000000',
  },
}
SCSS
$custom: #0f5038;
$custom-light: #59826e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5038",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 56
  },
  "hsl": {
    "h": 157.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.07561,
    "h": 163.2
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#0F5038
secondary
#8A3152
accent
#3D7DEB
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F5038

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

Preview Lab → · Contrast checker → · Palette generator →

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