#02351F#02351F

#02351F is a dark, moderate teal. Relative luminance 0.027; OKLCH L 29.1% C 0.065 H 158.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#02351F
RGBrgb(2, 53, 31)
HSLhsl(154, 93%, 11%)
HSVhsv(154, 96%, 21%)
CMYKcmyk(96.2%, 0%, 41.5%, 79.2%)
CIE-LABlab(18.62, -22.55, 9.43)
CIE-LCHlch(18.62, 24.44, 157.31°)
OKLaboklab(29.07% -0.0609 0.0237)
OKLCHoklch(29.07% 0.065 158.7)
XYZxyz(1.5453, 2.6578, 1.7276)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02351F #350218
analogous
#023506 #02351F #023135
triadic
#02351F #1F0235 #351F02
tetradic
#02351F #060235 #350218 #313502
square
#02351F #060235 #350218 #313502
split-complementary
#02351F #350231 #350602
monochromatic
#011D11 #011D11 #02351F #047041 #06AB64

Accessibility & contrast

On white

13.71
#02351F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#02351F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02351F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02351F#FFFFFF#000000##FFFFFF
##02351F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#2E2C20
Tritanopia (blue-blind)
#00352F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #02351f;
/* rgb */ color: rgb(2, 53, 31);
/* oklch */ color: oklch(29.1% 0.065 158.7);
Tailwind
colors: {
  custom: {
    50: '#4d6d5a',
    500: '#02351f',
    950: '#000000',
  },
}
SCSS
$custom: #02351f;
$custom-light: #4d6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02351f",
  "rgb": {
    "r": 2,
    "g": 53,
    "b": 31
  },
  "hsl": {
    "h": 154.118,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2907,
    "c": 0.06541,
    "h": 158.7
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#02351F
secondary
#791A43
accent
#2985FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #02351F

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

Preview Lab → · Contrast checker → · Palette generator →

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