#0F5132#0F5132

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

Color values

HEX#0F5132
RGBrgb(15, 81, 50)
HSLhsl(152, 69%, 19%)
HSVhsv(152, 81%, 32%)
CMYKcmyk(81.5%, 0%, 38.3%, 68.2%)
CIE-LABlab(29.95, -28.39, 12.62)
CIE-LCHlch(29.95, 31.07, 156.02°)
OKLaboklab(38.64% -0.0768 0.0318)
OKLCHoklch(38.64% 0.083 157.5)
XYZxyz(3.7148, 6.2163, 4.0211)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5132 #510F2E
analogous
#0F5111 #0F5132 #0F4F51
triadic
#0F5132 #320F51 #51320F
tetradic
#0F5132 #110F51 #510F2E #4F510F
square
#0F5132 #110F51 #510F2E #4F510F
split-complementary
#0F5132 #510F4F #51110F
monochromatic
#051A10 #051D12 #0F5132 #198552 #22B872

Accessibility & contrast

On white

9.36
#0F5132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5132
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5132#FFFFFF#000000##FFFFFF
##0F51321.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#484434
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5132;
/* rgb */ color: rgb(15, 81, 50);
/* oklch */ color: oklch(38.6% 0.083 157.5);
Tailwind
colors: {
  custom: {
    50: '#59826a',
    500: '#0f5132',
    950: '#000000',
  },
}
SCSS
$custom: #0f5132;
$custom-light: #59826a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5132",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 50
  },
  "hsl": {
    "h": 151.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.08316,
    "h": 157.5
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#0F5132
secondary
#8B315B
accent
#3C8FEC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F5132

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

Preview Lab → · Contrast checker → · Palette generator →

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