#0D5231#0D5231

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

Color values

HEX#0D5231
RGBrgb(13, 82, 49)
HSLhsl(151, 73%, 19%)
HSVhsv(151, 84%, 32%)
CMYKcmyk(84.1%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.26, -29.36, 13.65)
CIE-LCHlch(30.26, 32.38, 155.07°)
OKLaboklab(38.87% -0.0793 0.0342)
OKLCHoklch(38.87% 0.086 156.7)
XYZxyz(3.7373, 6.3415, 3.9322)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5231 #520D2E
analogous
#0D520E #0D5231 #0D5052
triadic
#0D5231 #310D52 #52310D
tetradic
#0D5231 #0E0D52 #520D2E #50520D
square
#0D5231 #0E0D52 #520D2E #50520D
split-complementary
#0D5231 #520D50 #520E0D
monochromatic
#041A10 #051D11 #0D5231 #158751 #1EBC70

Accessibility & contrast

On white

9.26
#0D5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5231
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5231#FFFFFF#000000##FFFFFF
##0D52311.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.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: #0d5231;
/* rgb */ color: rgb(13, 82, 49);
/* oklch */ color: oklch(38.9% 0.086 156.7);
Tailwind
colors: {
  custom: {
    50: '#598369',
    500: '#0d5231',
    950: '#000000',
  },
}
SCSS
$custom: #0d5231;
$custom-light: #598369;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5231",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 151.304,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.08639,
    "h": 156.7
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#0D5231
secondary
#8D2E5B
accent
#3890EF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0D5231

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

Preview Lab → · Contrast checker → · Palette generator →

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