#02321C#02321C

#02321C is a dark, moderate teal. Relative luminance 0.024; OKLCH L 28.0% C 0.064 H 157.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#02321C
RGBrgb(2, 50, 28)
HSLhsl(153, 92%, 10%)
HSVhsv(153, 96%, 20%)
CMYKcmyk(96%, 0%, 44%, 80.4%)
CIE-LABlab(17.36, -21.94, 9.73)
CIE-LCHlch(17.36, 24.00, 156.09°)
OKLaboklab(28.01% -0.0592 0.0244)
OKLCHoklch(28.01% 0.064 157.6)
XYZxyz(1.3751, 2.3778, 1.4849)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02321C #320218
analogous
#023204 #02321C #023032
triadic
#02321C #1C0232 #321C02
tetradic
#02321C #040232 #320218 #303202
square
#02321C #040232 #320218 #303202
split-complementary
#02321C #320230 #320402
monochromatic
#011D10 #011D10 #02321C #046D3D #07A85E

Accessibility & contrast

On white

14.23
#02321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#02321C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02321C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02321C#FFFFFF#000000##FFFFFF
##02321C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02321c;
/* rgb */ color: rgb(2, 50, 28);
/* oklch */ color: oklch(28.0% 0.064 157.6);
Tailwind
colors: {
  custom: {
    50: '#4c6a58',
    500: '#02321c',
    950: '#000000',
  },
}
SCSS
$custom: #02321c;
$custom-light: #4c6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#02321c",
  "rgb": {
    "r": 2,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 152.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.06404,
    "h": 157.6
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#02321C
secondary
#761944
accent
#298BFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02321C

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

Preview Lab → · Contrast checker → · Palette generator →

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