#02331E#02331E

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

Color values

HEX#02331E
RGBrgb(2, 51, 30)
HSLhsl(154, 92%, 10%)
HSVhsv(154, 96%, 20%)
CMYKcmyk(96.1%, 0%, 41.2%, 80%)
CIE-LABlab(17.80, -21.89, 8.99)
CIE-LCHlch(17.80, 23.66, 157.67°)
OKLaboklab(28.39% -0.0592 0.0227)
OKLCHoklch(28.39% 0.063 159.1)
XYZxyz(1.4430, 2.4741, 1.6295)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02331E #330217
analogous
#023306 #02331E #022F33
triadic
#02331E #1E0233 #331E02
tetradic
#02331E #060233 #330217 #2F3302
square
#02331E #060233 #330217 #2F3302
split-complementary
#02331E #33022F #330602
monochromatic
#011D11 #011D11 #02331E #046E41 #07A963

Accessibility & contrast

On white

14.05
#02331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#02331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02331E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02331E#FFFFFF#000000##FFFFFF
##02331E1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02331e;
/* rgb */ color: rgb(2, 51, 30);
/* oklch */ color: oklch(28.4% 0.063 159.1);
Tailwind
colors: {
  custom: {
    50: '#4c6b59',
    500: '#02331e',
    950: '#000000',
  },
}
SCSS
$custom: #02331e;
$custom-light: #4c6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#02331e",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 154.286,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28388,
    "c": 0.06339,
    "h": 159.1
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#02331E
secondary
#771A42
accent
#2985FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02331E

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

Preview Lab → · Contrast checker → · Palette generator →

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