#0D4228#0D4228

#0D4228 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.7% C 0.071 H 157.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#0D4228
RGBrgb(13, 66, 40)
HSLhsl(151, 67%, 15%)
HSVhsv(151, 80%, 26%)
CMYKcmyk(80.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(24.11, -24.26, 11.03)
CIE-LCHlch(24.11, 26.65, 155.55°)
OKLaboklab(33.74% -0.0657 0.0278)
OKLCHoklch(33.74% 0.071 157.1)
XYZxyz(2.4970, 4.1349, 2.6736)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4228 #420D27
analogous
#0D420D #0D4228 #0D4142
triadic
#0D4228 #280D42 #42280D
tetradic
#0D4228 #0D0D42 #420D27 #41420D
square
#0D4228 #0D0D42 #420D27 #41420D
split-complementary
#0D4228 #420D41 #420D0D
monochromatic
#051A0F #051A0F #0D4228 #177547 #21A866

Accessibility & contrast

On white

11.49
#0D4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0D4228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4228
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4228#FFFFFF#000000##FFFFFF
##0D42281.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#3B372A
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d4228;
/* rgb */ color: rgb(13, 66, 40);
/* oklch */ color: oklch(33.7% 0.071 157.1);
Tailwind
colors: {
  custom: {
    50: '#557762',
    500: '#0d4228',
    950: '#000000',
  },
}
SCSS
$custom: #0d4228;
$custom-light: #557762;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4228",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 150.566,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.07135,
    "h": 157.1
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#0D4228
secondary
#7E2D55
accent
#3E92EA
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0D4228

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

Preview Lab → · Contrast checker → · Palette generator →

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