#0F5B3F#0F5B3F

#0F5B3F is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.085 H 162.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5B3F
RGBrgb(15, 91, 63)
HSLhsl(158, 72%, 21%)
HSVhsv(158, 84%, 36%)
CMYKcmyk(83.5%, 0%, 30.8%, 64.3%)
CIE-LABlab(33.86, -29.66, 9.95)
CIE-LCHlch(33.86, 31.28, 161.46°)
OKLaboklab(41.95% -0.081 0.0253)
OKLCHoklch(41.95% 0.085 162.7)
XYZxyz(4.8348, 7.9420, 5.9798)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B3F #5B0F2B
analogous
#0F5B19 #0F5B3F #0F515B
triadic
#0F5B3F #3F0F5B #5B3F0F
tetradic
#0F5B3F #190F5B #5B0F2B #515B0F
square
#0F5B3F #190F5B #5B0F2B #515B0F
split-complementary
#0F5B3F #5B0F51 #5B190F
monochromatic
#041A12 #06261B #0F5B3F #189063 #20C488

Accessibility & contrast

On white

8.11
#0F5B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B3F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B3F#FFFFFF#000000##FFFFFF
##0F5B3F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543D
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5b3f;
/* rgb */ color: rgb(15, 91, 63);
/* oklch */ color: oklch(42.0% 0.085 162.7);
Tailwind
colors: {
  custom: {
    50: '#5c8a74',
    500: '#0f5b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b3f;
$custom-light: #5c8a74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b3f",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 63
  },
  "hsl": {
    "h": 157.895,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41953,
    "c": 0.08491,
    "h": 162.7
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#0F5B3F
secondary
#953156
accent
#397CEE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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