#042D0D#042D0D

#042D0D is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.1% C 0.072 H 147.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#042D0D
RGBrgb(4, 45, 13)
HSLhsl(133, 84%, 10%)
HSVhsv(133, 91%, 18%)
CMYKcmyk(91.1%, 0%, 71.1%, 82.4%)
CIE-LABlab(15.12, -22.41, 16.10)
CIE-LCHlch(15.12, 27.59, 144.31°)
OKLaboklab(26.09% -0.0603 0.0392)
OKLCHoklch(26.09% 0.072 147)
XYZxyz(1.0610, 1.9315, 0.6976)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D0D #2D0424
analogous
#102D04 #042D0D #042D22
triadic
#042D0D #0D042D #2D0D04
tetradic
#042D0D #04102D #2D0424 #2D2204
square
#042D0D #04102D #2D0424 #2D2204
split-complementary
#042D0D #22042D #2D0410
monochromatic
#021C08 #021C08 #042D0D #09651D #0E9D2D

Accessibility & contrast

On white

15.15
#042D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D0D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D0D#FFFFFF#000000##FFFFFF
##042D0D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280A
Deuteranopia (green-blind)
#292510
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042d0d;
/* rgb */ color: rgb(4, 45, 13);
/* oklch */ color: oklch(26.1% 0.072 147.0);
Tailwind
colors: {
  custom: {
    50: '#4b664d',
    500: '#042d0d',
    950: '#000000',
  },
}
SCSS
$custom: #042d0d;
$custom-light: #4b664d;
$custom-dark: #000000;
JSON
{
  "hex": "#042d0d",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 133.171,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26086,
    "c": 0.07188,
    "h": 147
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#042D0D
secondary
#701D5E
accent
#2ECDFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #042D0D

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

Preview Lab → · Contrast checker → · Palette generator →

#042D0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva