#02331F#02331F

#02331F is a dark, moderate teal. Relative luminance 0.025; OKLCH L 28.4% C 0.062 H 160.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#02331F
RGBrgb(2, 51, 31)
HSLhsl(156, 92%, 10%)
HSVhsv(156, 96%, 20%)
CMYKcmyk(96.1%, 0%, 39.2%, 80%)
CIE-LABlab(17.82, -21.62, 8.35)
CIE-LCHlch(17.82, 23.18, 158.88°)
OKLaboklab(28.42% -0.0586 0.0211)
OKLCHoklch(28.42% 0.062 160.2)
XYZxyz(1.4560, 2.4793, 1.6979)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02331F #330216
analogous
#023306 #02331F #022E33
triadic
#02331F #1F0233 #331F02
tetradic
#02331F #060233 #330216 #2E3302
square
#02331F #060233 #330216 #2E3302
split-complementary
#02331F #33022E #330602
monochromatic
#011D12 #011D12 #02331F #046E43 #07A967

Accessibility & contrast

On white

14.04
#02331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#02331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02331F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02331F#FFFFFF#000000##FFFFFF
##02331F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1E
Deuteranopia (green-blind)
#2C2A20
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02331f;
/* rgb */ color: rgb(2, 51, 31);
/* oklch */ color: oklch(28.4% 0.062 160.2);
Tailwind
colors: {
  custom: {
    50: '#4c6b5a',
    500: '#02331f',
    950: '#000000',
  },
}
SCSS
$custom: #02331f;
$custom-light: #4c6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02331f",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 155.51,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.0623,
    "h": 160.2
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#02331F
secondary
#771A40
accent
#2980FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02331F

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

Preview Lab → · Contrast checker → · Palette generator →

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