#042D11#042D11

#042D11 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.2% C 0.068 H 149.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#042D11
RGBrgb(4, 45, 17)
HSLhsl(139, 84%, 10%)
HSVhsv(139, 91%, 18%)
CMYKcmyk(91.1%, 0%, 62.2%, 82.4%)
CIE-LABlab(15.18, -21.68, 14.05)
CIE-LCHlch(15.18, 25.84, 147.05°)
OKLaboklab(26.16% -0.0582 0.0342)
OKLCHoklch(26.16% 0.068 149.6)
XYZxyz(1.0895, 1.9429, 0.8478)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D11 #2D0420
analogous
#0C2D04 #042D11 #042D26
triadic
#042D11 #11042D #2D1104
tetradic
#042D11 #040C2D #2D0420 #2D2604
square
#042D11 #040C2D #2D0420 #2D2604
split-complementary
#042D11 #26042D #2D040C
monochromatic
#021C0B #021C0B #042D11 #096526 #0E9D3B

Accessibility & contrast

On white

15.12
#042D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D11
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D11#FFFFFF#000000##FFFFFF
##042D111.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280F
Deuteranopia (green-blind)
#292513
Tritanopia (blue-blind)
#002C27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042d11;
/* rgb */ color: rgb(4, 45, 17);
/* oklch */ color: oklch(26.2% 0.068 149.6);
Tailwind
colors: {
  custom: {
    50: '#4b664f',
    500: '#042d11',
    950: '#000000',
  },
}
SCSS
$custom: #042d11;
$custom-light: #4b664f;
$custom-dark: #000000;
JSON
{
  "hex": "#042d11",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 17
  },
  "hsl": {
    "h": 139.024,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26157,
    "c": 0.06753,
    "h": 149.6
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#042D11
secondary
#701D55
accent
#2EB9FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #042D11

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

Preview Lab → · Contrast checker → · Palette generator →

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