#0F5031#0F5031

#0F5031 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.3% C 0.083 H 157.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#0F5031
RGBrgb(15, 80, 49)
HSLhsl(151, 68%, 19%)
HSVhsv(151, 81%, 31%)
CMYKcmyk(81.3%, 0%, 38.8%, 68.6%)
CIE-LABlab(29.56, -28.17, 12.72)
CIE-LCHlch(29.56, 30.91, 155.70°)
OKLaboklab(38.31% -0.0763 0.032)
OKLCHoklch(38.31% 0.083 157.2)
XYZxyz(3.6197, 6.0602, 3.8841)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5031 #500F2E
analogous
#0F5011 #0F5031 #0F4E50
triadic
#0F5031 #310F50 #50310F
tetradic
#0F5031 #110F50 #500F2E #4E500F
square
#0F5031 #110F50 #500F2E #4E500F
split-complementary
#0F5031 #500F4E #50110F
monochromatic
#051A10 #051C11 #0F5031 #198451 #22B770

Accessibility & contrast

On white

9.49
#0F5031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5031
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5031#FFFFFF#000000##FFFFFF
##0F50311.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#474333
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5031;
/* rgb */ color: rgb(15, 80, 49);
/* oklch */ color: oklch(38.3% 0.083 157.2);
Tailwind
colors: {
  custom: {
    50: '#598269',
    500: '#0f5031',
    950: '#000000',
  },
}
SCSS
$custom: #0f5031;
$custom-light: #598269;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5031",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 49
  },
  "hsl": {
    "h": 151.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.0827,
    "h": 157.2
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#0F5031
secondary
#8A315B
accent
#3D90EB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F5031

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

Preview Lab → · Contrast checker → · Palette generator →

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