#02321F#02321F

#02321F is a dark, moderate teal. Relative luminance 0.024; OKLCH L 28.1% C 0.061 H 161.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#02321F
RGBrgb(2, 50, 31)
HSLhsl(156, 92%, 10%)
HSVhsv(156, 96%, 20%)
CMYKcmyk(96%, 0%, 38%, 80.4%)
CIE-LABlab(17.43, -21.15, 7.81)
CIE-LCHlch(17.43, 22.54, 159.73°)
OKLaboklab(28.09% -0.0574 0.0198)
OKLCHoklch(28.09% 0.061 161)
XYZxyz(1.4128, 2.3929, 1.6835)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02321F #320215
analogous
#023207 #02321F #022D32
triadic
#02321F #1F0232 #321F02
tetradic
#02321F #070232 #320215 #2D3202
square
#02321F #070232 #320215 #2D3202
split-complementary
#02321F #32022D #320702
monochromatic
#011D12 #011D12 #02321F #046D43 #07A868

Accessibility & contrast

On white

14.20
#02321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02321F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02321F#FFFFFF#000000##FFFFFF
##02321F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#2B2920
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02321f;
/* rgb */ color: rgb(2, 50, 31);
/* oklch */ color: oklch(28.1% 0.061 161.0);
Tailwind
colors: {
  custom: {
    50: '#4c6a5a',
    500: '#02321f',
    950: '#000000',
  },
}
SCSS
$custom: #02321f;
$custom-light: #4c6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02321f",
  "rgb": {
    "r": 2,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 156.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28087,
    "c": 0.06073,
    "h": 161
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#02321F
secondary
#76193E
accent
#297EFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02321F

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

Preview Lab → · Contrast checker → · Palette generator →

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