#04240B#04240B

#04240B is a very dark, muted green. Relative luminance 0.013; OKLCH L 23.0% C 0.060 H 147.8°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#04240B
RGBrgb(4, 36, 11)
HSLhsl(133, 80%, 8%)
HSVhsv(133, 89%, 14%)
CMYKcmyk(88.9%, 0%, 69.4%, 85.9%)
CIE-LABlab(11.36, -18.58, 11.99)
CIE-LCHlch(11.36, 22.12, 147.17°)
OKLaboklab(22.96% -0.0505 0.0318)
OKLCHoklch(22.96% 0.06 147.8)
XYZxyz(0.7413, 1.3116, 0.5306)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04240B #24041D
analogous
#0D2404 #04240B #04241B
triadic
#04240B #0B0424 #240B04
tetradic
#04240B #040D24 #24041D #241B04
square
#04240B #040D24 #24041D #241B04
split-complementary
#04240B #1B0424 #24040D
monochromatic
#031C08 #031C08 #04240B #0A5B1C #10922D

Accessibility & contrast

On white

16.63
#04240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#04240B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04240B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04240B#FFFFFF#000000##FFFFFF
##04240B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252009
Deuteranopia (green-blind)
#211D0D
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #04240b;
/* rgb */ color: rgb(4, 36, 11);
/* oklch */ color: oklch(23.0% 0.060 147.8);
Tailwind
colors: {
  custom: {
    50: '#485f4b',
    500: '#04240b',
    950: '#000000',
  },
}
SCSS
$custom: #04240b;
$custom-light: #485f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#04240b",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 133.125,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.22955,
    "c": 0.0597,
    "h": 147.8
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#04240B
secondary
#671D57
accent
#31CBF6
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #04240B

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

Preview Lab → · Contrast checker → · Palette generator →

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