#02311D#02311D

#02311D is a dark, moderate teal. Relative luminance 0.023; OKLCH L 27.7% C 0.061 H 159.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#02311D
RGBrgb(2, 49, 29)
HSLhsl(154, 92%, 10%)
HSVhsv(154, 96%, 19%)
CMYKcmyk(95.9%, 0%, 40.8%, 80.8%)
CIE-LABlab(16.98, -21.22, 8.55)
CIE-LCHlch(16.98, 22.87, 158.05°)
OKLaboklab(27.7% -0.0574 0.0216)
OKLCHoklch(27.7% 0.061 159.4)
XYZxyz(1.3450, 2.2981, 1.5348)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02311D #310216
analogous
#023105 #02311D #022E31
triadic
#02311D #1D0231 #311D02
tetradic
#02311D #050231 #310216 #2E3102
square
#02311D #050231 #310216 #2E3102
split-complementary
#02311D #31022E #310502
monochromatic
#011D11 #011D11 #02311D #046C40 #07A763

Accessibility & contrast

On white

14.39
#02311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#02311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02311D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02311D#FFFFFF#000000##FFFFFF
##02311D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #02311d;
/* rgb */ color: rgb(2, 49, 29);
/* oklch */ color: oklch(27.7% 0.061 159.4);
Tailwind
colors: {
  custom: {
    50: '#4c6959',
    500: '#02311d',
    950: '#000000',
  },
}
SCSS
$custom: #02311d;
$custom-light: #4c6959;
$custom-dark: #000000;
JSON
{
  "hex": "#02311d",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 154.468,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.06135,
    "h": 159.4
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#02311D
secondary
#751941
accent
#2984FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02311D

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

Preview Lab → · Contrast checker → · Palette generator →

#02311D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva