#02311B#02311B

#02311B is a dark, moderate teal. Relative luminance 0.023; OKLCH L 27.6% C 0.064 H 157.2°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#02311B
RGBrgb(2, 49, 27)
HSLhsl(152, 92%, 10%)
HSVhsv(152, 96%, 19%)
CMYKcmyk(95.9%, 0%, 44.9%, 80.8%)
CIE-LABlab(16.93, -21.74, 9.83)
CIE-LCHlch(16.93, 23.86, 155.67°)
OKLaboklab(27.65% -0.0586 0.0246)
OKLCHoklch(27.65% 0.064 157.2)
XYZxyz(1.3210, 2.2885, 1.4088)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02311B #310218
analogous
#023104 #02311B #022F31
triadic
#02311B #1B0231 #311B02
tetradic
#02311B #040231 #310218 #2F3102
square
#02311B #040231 #310218 #2F3102
split-complementary
#02311B #31022F #310402
monochromatic
#011D10 #011D10 #02311B #046C3B #07A75C

Accessibility & contrast

On white

14.41
#02311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02311B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02311B#FFFFFF#000000##FFFFFF
##02311B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1A
Deuteranopia (green-blind)
#2B281C
Tritanopia (blue-blind)
#00312B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #02311b;
/* rgb */ color: rgb(2, 49, 27);
/* oklch */ color: oklch(27.6% 0.064 157.2);
Tailwind
colors: {
  custom: {
    50: '#4b6957',
    500: '#02311b',
    950: '#000000',
  },
}
SCSS
$custom: #02311b;
$custom-light: #4b6957;
$custom-dark: #000000;
JSON
{
  "hex": "#02311b",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 151.915,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27649,
    "c": 0.06359,
    "h": 157.2
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#02311B
secondary
#751944
accent
#298DFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02311B

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

Preview Lab → · Contrast checker → · Palette generator →

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