#02301C#02301C

#02301C is a dark, moderate teal. Relative luminance 0.022; OKLCH L 27.3% C 0.061 H 159.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#02301C
RGBrgb(2, 48, 28)
HSLhsl(154, 92%, 10%)
HSVhsv(154, 96%, 19%)
CMYKcmyk(95.8%, 0%, 41.7%, 81.2%)
CIE-LABlab(16.56, -21.01, 8.65)
CIE-LCHlch(16.56, 22.72, 157.63°)
OKLaboklab(27.34% -0.0568 0.0218)
OKLCHoklch(27.34% 0.061 159)
XYZxyz(1.2914, 2.2105, 1.4570)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02301C #300216
analogous
#023005 #02301C #022D30
triadic
#02301C #1C0230 #301C02
tetradic
#02301C #050230 #300216 #2D3002
square
#02301C #050230 #300216 #2D3002
split-complementary
#02301C #30022D #300502
monochromatic
#011D11 #011D11 #02301C #046B3E #07A661

Accessibility & contrast

On white

14.56
#02301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#02301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02301C
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02301C#FFFFFF#000000##FFFFFF
##02301C1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#2A271D
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #02301c;
/* rgb */ color: rgb(2, 48, 28);
/* oklch */ color: oklch(27.3% 0.061 159.0);
Tailwind
colors: {
  custom: {
    50: '#4b6958',
    500: '#02301c',
    950: '#000000',
  },
}
SCSS
$custom: #02301c;
$custom-light: #4b6958;
$custom-dark: #000000;
JSON
{
  "hex": "#02301c",
  "rgb": {
    "r": 2,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 153.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27343,
    "c": 0.06088,
    "h": 159
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#02301C
secondary
#751941
accent
#2986FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #02301C

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

Preview Lab → · Contrast checker → · Palette generator →

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