#02400B#02400B

#02400B is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.3% C 0.101 H 144.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#02400B
RGBrgb(2, 64, 11)
HSLhsl(129, 94%, 13%)
HSVhsv(129, 97%, 25%)
CMYKcmyk(96.9%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.67, -30.52, 25.77)
CIE-LCHlch(22.67, 39.95, 139.82°)
OKLaboklab(32.34% -0.0823 0.0585)
OKLCHoklch(32.34% 0.101 144.6)
XYZxyz(1.9187, 3.7036, 0.9303)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02400B #400237
analogous
#184002 #02400B #02402A
triadic
#02400B #0B0240 #400B02
tetradic
#02400B #021840 #400237 #402A02
square
#02400B #021840 #400237 #402A02
split-complementary
#02400B #2A0240 #400218
monochromatic
#011E05 #011E05 #02400B #047B15 #06B71F

Accessibility & contrast

On white

12.06
#02400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#02400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02400B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02400B#FFFFFF#000000##FFFFFF
##02400B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413903
Deuteranopia (green-blind)
#3B3411
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #02400b;
/* rgb */ color: rgb(2, 64, 11);
/* oklch */ color: oklch(32.3% 0.101 144.6);
Tailwind
colors: {
  custom: {
    50: '#51764e',
    500: '#02400b',
    950: '#000000',
  },
}
SCSS
$custom: #02400b;
$custom-light: #51764e;
$custom-dark: #000000;
JSON
{
  "hex": "#02400b",
  "rgb": {
    "r": 2,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 128.71,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.101,
    "h": 144.6
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#02400B
secondary
#831B74
accent
#29E0FF
background
#F4F7F4
surface
#E7EDE7
border
#C3C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #02400B

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

Preview Lab → · Contrast checker → · Palette generator →

#02400B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva