#042800#042800

#042800 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.2% C 0.079 H 140.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#042800
RGBrgb(4, 40, 0)
HSLhsl(114, 100%, 8%)
HSVhsv(114, 100%, 16%)
CMYKcmyk(90%, 0%, 100%, 84.3%)
CIE-LABlab(12.88, -22.39, 18.56)
CIE-LCHlch(12.88, 29.08, 140.35°)
OKLaboklab(24.17% -0.0613 0.05)
OKLCHoklch(24.17% 0.079 140.8)
XYZxyz(0.8088, 1.5433, 0.2553)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042800 #240028
analogous
#182800 #042800 #002810
triadic
#042800 #000428 #280004
tetradic
#042800 #001828 #240028 #281000
square
#042800 #001828 #240028 #281000
split-complementary
#042800 #100028 #280018
monochromatic
#031F00 #031F00 #042800 #0A6500 #10A200

Accessibility & contrast

On white

16.05
#042800 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042800 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042800
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042800#FFFFFF#000000##FFFFFF
##0428001.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252003
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042800;
/* rgb */ color: rgb(4, 40, 0);
/* oklch */ color: oklch(24.2% 0.079 140.8);
Tailwind
colors: {
  custom: {
    50: '#496246',
    500: '#042800',
    950: '#000000',
  },
}
SCSS
$custom: #042800;
$custom-light: #496246;
$custom-dark: #000000;
JSON
{
  "hex": "#042800",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 0
  },
  "hsl": {
    "h": 114,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24169,
    "c": 0.07915,
    "h": 140.8
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#042800
secondary
#671470
accent
#29FFEA
background
#F4F5F3
surface
#E7EAE5
border
#C3C6C1
text
#010500
muted
#777977

Preview Lab

Preview with #042800

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

Preview Lab → · Contrast checker → · Palette generator →

#042800 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva