#02240E#02240E

#02240E is a very dark, muted green. Relative luminance 0.013; OKLCH L 22.9% C 0.058 H 151.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#02240E
RGBrgb(2, 36, 14)
HSLhsl(141, 89%, 7%)
HSVhsv(141, 94%, 14%)
CMYKcmyk(94.4%, 0%, 61.1%, 85.9%)
CIE-LABlab(11.32, -18.68, 10.52)
CIE-LCHlch(11.32, 21.44, 150.61°)
OKLaboklab(22.92% -0.0507 0.0275)
OKLCHoklch(22.92% 0.058 151.6)
XYZxyz(0.7351, 1.3063, 0.6288)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02240E #240218
analogous
#072402 #02240E #02241F
triadic
#02240E #0E0224 #240E02
tetradic
#02240E #020724 #240218 #241F02
square
#02240E #020724 #240218 #241F02
split-complementary
#02240E #1F0224 #240207
monochromatic
#021D0B #021D0B #02240E #055E25 #08983B

Accessibility & contrast

On white

16.65
#02240E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#02240E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02240E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02240E#FFFFFF#000000##FFFFFF
##02240E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200C
Deuteranopia (green-blind)
#201D10
Tritanopia (blue-blind)
#00231F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #02240e;
/* rgb */ color: rgb(2, 36, 14);
/* oklch */ color: oklch(22.9% 0.058 151.6);
Tailwind
colors: {
  custom: {
    50: '#475f4d',
    500: '#02240e',
    950: '#000000',
  },
}
SCSS
$custom: #02240e;
$custom-light: #475f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#02240e",
  "rgb": {
    "r": 2,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 141.176,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22916,
    "c": 0.05763,
    "h": 151.6
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#02240E
secondary
#6A184D
accent
#29B3FF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #02240E

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

Preview Lab → · Contrast checker → · Palette generator →

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