#0F513C#0F513C

#0F513C is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.9% C 0.073 H 166.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#0F513C
RGBrgb(15, 81, 60)
HSLhsl(161, 69%, 19%)
HSVhsv(161, 81%, 32%)
CMYKcmyk(81.5%, 0%, 25.9%, 68.2%)
CIE-LABlab(30.19, -25.82, 6.68)
CIE-LCHlch(30.19, 26.67, 165.49°)
OKLaboklab(38.91% -0.0713 0.0171)
OKLCHoklch(38.91% 0.073 166.5)
XYZxyz(3.9546, 6.3122, 5.2840)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F513C #510F24
analogous
#0F511B #0F513C #0F4551
triadic
#0F513C #3C0F51 #513C0F
tetradic
#0F513C #1B0F51 #510F24 #45510F
square
#0F513C #1B0F51 #510F24 #45510F
split-complementary
#0F513C #510F45 #511B0F
monochromatic
#051A13 #051D16 #0F513C #198562 #22B889

Accessibility & contrast

On white

9.28
#0F513C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F513C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F513C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F513C#FFFFFF#000000##FFFFFF
##0F513C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3B
Deuteranopia (green-blind)
#47453D
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f513c;
/* rgb */ color: rgb(15, 81, 60);
/* oklch */ color: oklch(38.9% 0.073 166.5);
Tailwind
colors: {
  custom: {
    50: '#598271',
    500: '#0f513c',
    950: '#000000',
  },
}
SCSS
$custom: #0f513c;
$custom-light: #598271;
$custom-dark: #000000;
JSON
{
  "hex": "#0f513c",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 60
  },
  "hsl": {
    "h": 160.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.07335,
    "h": 166.5
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#0F513C
secondary
#8B314D
accent
#3C74EC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F513C

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

Preview Lab → · Contrast checker → · Palette generator →

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