#042B13#042B13

#042B13 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.5% C 0.062 H 152.0°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#042B13
RGBrgb(4, 43, 19)
HSLhsl(143, 83%, 9%)
HSVhsv(143, 91%, 17%)
CMYKcmyk(90.7%, 0%, 55.8%, 83.1%)
CIE-LABlab(14.40, -20.35, 11.83)
CIE-LCHlch(14.40, 23.54, 149.83°)
OKLaboklab(25.52% -0.0547 0.0291)
OKLCHoklch(25.52% 0.062 152)
XYZxyz(1.0314, 1.8005, 0.9091)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B13 #2B041C
analogous
#092B04 #042B13 #042B27
triadic
#042B13 #13042B #2B1304
tetradic
#042B13 #04092B #2B041C #2B2704
square
#042B13 #04092B #2B041C #2B2704
split-complementary
#042B13 #27042B #2B0409
monochromatic
#031C0C #031C0C #042B13 #09632C #0E9B44

Accessibility & contrast

On white

15.44
#042B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B13
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B13#FFFFFF#000000##FFFFFF
##042B131.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#262315
Tritanopia (blue-blind)
#002A25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042b13;
/* rgb */ color: rgb(4, 43, 19);
/* oklch */ color: oklch(25.5% 0.062 152.0);
Tailwind
colors: {
  custom: {
    50: '#4b6551',
    500: '#042b13',
    950: '#000000',
  },
}
SCSS
$custom: #042b13;
$custom-light: #4b6551;
$custom-dark: #000000;
JSON
{
  "hex": "#042b13",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 19
  },
  "hsl": {
    "h": 143.077,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25522,
    "c": 0.06199,
    "h": 152
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#042B13
secondary
#6E1D4F
accent
#2EABF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #042B13

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

Preview Lab → · Contrast checker → · Palette generator →

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