#02391D#02391D

#02391D is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.074 H 154.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#02391D
RGBrgb(2, 57, 29)
HSLhsl(149, 93%, 12%)
HSVhsv(149, 96%, 22%)
CMYKcmyk(96.5%, 0%, 49.1%, 77.6%)
CIE-LABlab(20.15, -24.83, 12.78)
CIE-LCHlch(20.15, 27.92, 152.76°)
OKLaboklab(30.33% -0.0667 0.0317)
OKLCHoklch(30.33% 0.074 154.6)
XYZxyz(1.7098, 3.0276, 1.6564)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02391D #39021E
analogous
#023902 #02391D #023939
triadic
#02391D #1D0239 #391D02
tetradic
#02391D #020239 #39021E #393902
square
#02391D #020239 #39021E #393902
split-complementary
#02391D #390239 #390202
monochromatic
#011E0F #011E0F #02391D #04743B #06AF59

Accessibility & contrast

On white

13.08
#02391D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#02391D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02391D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02391D#FFFFFF#000000##FFFFFF
##02391D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331B
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #02391d;
/* rgb */ color: rgb(2, 57, 29);
/* oklch */ color: oklch(30.3% 0.074 154.6);
Tailwind
colors: {
  custom: {
    50: '#4e7059',
    500: '#02391d',
    950: '#000000',
  },
}
SCSS
$custom: #02391d;
$custom-light: #4e7059;
$custom-dark: #000000;
JSON
{
  "hex": "#02391d",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 29
  },
  "hsl": {
    "h": 149.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.07383,
    "h": 154.6
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#02391D
secondary
#7D1A4C
accent
#2996FF
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #02391D

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

Preview Lab → · Contrast checker → · Palette generator →

#02391D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva