#0F5231#0F5231

#0F5231 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 38.9% C 0.086 H 156.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#0F5231
RGBrgb(15, 82, 49)
HSLhsl(150, 69%, 19%)
HSVhsv(150, 82%, 32%)
CMYKcmyk(81.7%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.30, -29.06, 13.71)
CIE-LCHlch(30.30, 32.13, 154.75°)
OKLaboklab(38.92% -0.0785 0.0344)
OKLCHoklch(38.92% 0.086 156.4)
XYZxyz(3.7683, 6.3575, 3.9336)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5231 #520F30
analogous
#0F5210 #0F5231 #0F5252
triadic
#0F5231 #310F52 #52310F
tetradic
#0F5231 #100F52 #520F30 #52520F
square
#0F5231 #100F52 #520F30 #52520F
split-complementary
#0F5231 #520F52 #52100F
monochromatic
#051A0F #061E12 #0F5231 #188650 #22B96F

Accessibility & contrast

On white

9.24
#0F5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F5231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5231
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5231#FFFFFF#000000##FFFFFF
##0F52311.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B2F
Deuteranopia (green-blind)
#494533
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5231;
/* rgb */ color: rgb(15, 82, 49);
/* oklch */ color: oklch(38.9% 0.086 156.4);
Tailwind
colors: {
  custom: {
    50: '#598369',
    500: '#0f5231',
    950: '#000000',
  },
}
SCSS
$custom: #0f5231;
$custom-light: #598369;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5231",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 150.448,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.08573,
    "h": 156.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#0F5231
secondary
#8C315E
accent
#3C93EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F5231

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

Preview Lab → · Contrast checker → · Palette generator →

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