#02311A#02311A

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

Color values

HEX#02311A
RGBrgb(2, 49, 26)
HSLhsl(151, 92%, 10%)
HSVhsv(151, 96%, 19%)
CMYKcmyk(95.9%, 0%, 46.9%, 80.8%)
CIE-LABlab(16.91, -21.99, 10.47)
CIE-LCHlch(16.91, 24.35, 154.55°)
OKLaboklab(27.62% -0.0592 0.0261)
OKLCHoklch(27.62% 0.065 156.2)
XYZxyz(1.3097, 2.2839, 1.3489)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02311A #310219
analogous
#023102 #02311A #023131
triadic
#02311A #1A0231 #311A02
tetradic
#02311A #020231 #310219 #313102
square
#02311A #020231 #310219 #313102
split-complementary
#02311A #310231 #310202
monochromatic
#011D10 #011D10 #02311A #046C39 #07A758

Accessibility & contrast

On white

14.42
#02311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02311A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02311A#FFFFFF#000000##FFFFFF
##02311A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02311a;
/* rgb */ color: rgb(2, 49, 26);
/* oklch */ color: oklch(27.6% 0.065 156.2);
Tailwind
colors: {
  custom: {
    50: '#4b6956',
    500: '#02311a',
    950: '#000000',
  },
}
SCSS
$custom: #02311a;
$custom-light: #4b6956;
$custom-dark: #000000;
JSON
{
  "hex": "#02311a",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 150.638,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27623,
    "c": 0.06473,
    "h": 156.2
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#02311A
secondary
#751946
accent
#2992FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02311A

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

Preview Lab → · Contrast checker → · Palette generator →

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