#02311E#02311E

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

Color values

HEX#02311E
RGBrgb(2, 49, 30)
HSLhsl(156, 92%, 10%)
HSVhsv(156, 96%, 19%)
CMYKcmyk(95.9%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.00, -20.95, 7.91)
CIE-LCHlch(17.00, 22.39, 159.32°)
OKLaboklab(27.73% -0.0568 0.02)
OKLCHoklch(27.73% 0.06 160.6)
XYZxyz(1.3575, 2.3031, 1.6010)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02311E #310215
analogous
#023107 #02311E #022C31
triadic
#02311E #1E0231 #311E02
tetradic
#02311E #070231 #310215 #2C3102
square
#02311E #070231 #310215 #2C3102
split-complementary
#02311E #31022C #310702
monochromatic
#011D12 #011D12 #02311E #046C42 #07A766

Accessibility & contrast

On white

14.38
#02311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02311E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02311E#FFFFFF#000000##FFFFFF
##02311E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02311e;
/* rgb */ color: rgb(2, 49, 30);
/* oklch */ color: oklch(27.7% 0.060 160.6);
Tailwind
colors: {
  custom: {
    50: '#4c6959',
    500: '#02311e',
    950: '#000000',
  },
}
SCSS
$custom: #02311e;
$custom-light: #4c6959;
$custom-dark: #000000;
JSON
{
  "hex": "#02311e",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 155.745,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27729,
    "c": 0.06026,
    "h": 160.6
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#02311E
secondary
#75193F
accent
#297FFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02311E

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

Preview Lab → · Contrast checker → · Palette generator →

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