#0F5131#0F5131

#0F5131 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.6% C 0.084 H 156.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#0F5131
RGBrgb(15, 81, 49)
HSLhsl(151, 69%, 19%)
HSVhsv(151, 81%, 32%)
CMYKcmyk(81.5%, 0%, 39.5%, 68.2%)
CIE-LABlab(29.93, -28.62, 13.21)
CIE-LCHlch(29.93, 31.52, 155.22°)
OKLaboklab(38.61% -0.0774 0.0332)
OKLCHoklch(38.61% 0.084 156.8)
XYZxyz(3.6934, 6.2077, 3.9087)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5131 #510F2F
analogous
#0F5110 #0F5131 #0F5051
triadic
#0F5131 #310F51 #51310F
tetradic
#0F5131 #100F51 #510F2F #50510F
square
#0F5131 #100F51 #510F2F #50510F
split-complementary
#0F5131 #510F50 #51100F
monochromatic
#051A10 #051D12 #0F5131 #198550 #22B86F

Accessibility & contrast

On white

9.37
#0F5131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5131
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5131#FFFFFF#000000##FFFFFF
##0F51311.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#484433
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5131;
/* rgb */ color: rgb(15, 81, 49);
/* oklch */ color: oklch(38.6% 0.084 156.8);
Tailwind
colors: {
  custom: {
    50: '#598269',
    500: '#0f5131',
    950: '#000000',
  },
}
SCSS
$custom: #0f5131;
$custom-light: #598269;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5131",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 150.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.08421,
    "h": 156.8
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#0F5131
secondary
#8B315D
accent
#3C91EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F5131

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

Preview Lab → · Contrast checker → · Palette generator →

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