#02311C#02311C

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

Color values

HEX#02311C
RGBrgb(2, 49, 28)
HSLhsl(153, 92%, 10%)
HSVhsv(153, 96%, 19%)
CMYKcmyk(95.9%, 0%, 42.9%, 80.8%)
CIE-LABlab(16.96, -21.48, 9.19)
CIE-LCHlch(16.96, 23.36, 156.84°)
OKLaboklab(27.68% -0.058 0.0231)
OKLCHoklch(27.68% 0.062 158.3)
XYZxyz(1.3328, 2.2932, 1.4708)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02311C #310217
analogous
#023104 #02311C #022F31
triadic
#02311C #1C0231 #311C02
tetradic
#02311C #040231 #310217 #2F3102
square
#02311C #040231 #310217 #2F3102
split-complementary
#02311C #31022F #310402
monochromatic
#011D11 #011D11 #02311C #046C3E #07A75F

Accessibility & contrast

On white

14.40
#02311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02311C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02311C#FFFFFF#000000##FFFFFF
##02311C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02311c;
/* rgb */ color: rgb(2, 49, 28);
/* oklch */ color: oklch(27.7% 0.062 158.3);
Tailwind
colors: {
  custom: {
    50: '#4b6958',
    500: '#02311c',
    950: '#000000',
  },
}
SCSS
$custom: #02311c;
$custom-light: #4b6958;
$custom-dark: #000000;
JSON
{
  "hex": "#02311c",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 153.191,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.06246,
    "h": 158.3
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#02311C
secondary
#751943
accent
#2989FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02311C

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

Preview Lab → · Contrast checker → · Palette generator →

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