#042805#042805

#042805 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.2% C 0.073 H 143.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#042805
RGBrgb(4, 40, 5)
HSLhsl(122, 82%, 9%)
HSVhsv(122, 90%, 16%)
CMYKcmyk(90%, 0%, 87.5%, 84.3%)
CIE-LABlab(12.95, -21.56, 16.61)
CIE-LCHlch(12.95, 27.22, 142.39°)
OKLaboklab(24.25% -0.0584 0.0434)
OKLCHoklch(24.25% 0.073 143.4)
XYZxyz(0.8362, 1.5543, 0.3995)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042805 #280427
analogous
#152804 #042805 #042817
triadic
#042805 #050428 #280504
tetradic
#042805 #041528 #280427 #281704
square
#042805 #041528 #280427 #281704
split-complementary
#042805 #170428 #280415
monochromatic
#031C03 #031C03 #042805 #0A600C #0F9713

Accessibility & contrast

On white

16.02
#042805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042805
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042805#FFFFFF#000000##FFFFFF
##0428051.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292302
Deuteranopia (green-blind)
#252008
Tritanopia (blue-blind)
#002721
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042805;
/* rgb */ color: rgb(4, 40, 5);
/* oklch */ color: oklch(24.2% 0.073 143.4);
Tailwind
colors: {
  custom: {
    50: '#496249',
    500: '#042805',
    950: '#000000',
  },
}
SCSS
$custom: #042805;
$custom-light: #496249;
$custom-dark: #000000;
JSON
{
  "hex": "#042805",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 121.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24248,
    "c": 0.07278,
    "h": 143.4
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#042805
secondary
#6B1D69
accent
#30F3F8
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #042805

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

Preview Lab → · Contrast checker → · Palette generator →

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