#042B16#042B16

#042B16 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.6% C 0.058 H 155.0°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#042B16
RGBrgb(4, 43, 22)
HSLhsl(148, 83%, 9%)
HSVhsv(148, 91%, 17%)
CMYKcmyk(90.7%, 0%, 48.8%, 83.1%)
CIE-LABlab(14.46, -19.65, 9.92)
CIE-LCHlch(14.46, 22.01, 153.22°)
OKLaboklab(25.59% -0.053 0.0247)
OKLCHoklch(25.59% 0.058 155)
XYZxyz(1.0587, 1.8114, 1.0527)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B16 #2B0419
analogous
#062B04 #042B16 #042B2A
triadic
#042B16 #16042B #2B1604
tetradic
#042B16 #04062B #2B0419 #2B2A04
square
#042B16 #04062B #2B0419 #2B2A04
split-complementary
#042B16 #2A042B #2B0406
monochromatic
#031C0E #031C0E #042B16 #096333 #0E9B4F

Accessibility & contrast

On white

15.42
#042B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B16
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B16#FFFFFF#000000##FFFFFF
##042B161.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2715
Deuteranopia (green-blind)
#262317
Tritanopia (blue-blind)
#002A26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042b16;
/* rgb */ color: rgb(4, 43, 22);
/* oklch */ color: oklch(25.6% 0.058 155.0);
Tailwind
colors: {
  custom: {
    50: '#4a6553',
    500: '#042b16',
    950: '#000000',
  },
}
SCSS
$custom: #042b16;
$custom-light: #4a6553;
$custom-dark: #000000;
JSON
{
  "hex": "#042b16",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 22
  },
  "hsl": {
    "h": 147.692,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.05845,
    "h": 155
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#042B16
secondary
#6E1D49
accent
#2E9CF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #042B16

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

Preview Lab → · Contrast checker → · Palette generator →

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