#042B14#042B14

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

Color values

HEX#042B14
RGBrgb(4, 43, 20)
HSLhsl(145, 83%, 9%)
HSVhsv(145, 91%, 17%)
CMYKcmyk(90.7%, 0%, 53.5%, 83.1%)
CIE-LABlab(14.42, -20.13, 11.21)
CIE-LCHlch(14.42, 23.03, 150.89°)
OKLaboklab(25.54% -0.0541 0.0277)
OKLCHoklch(25.54% 0.061 152.9)
XYZxyz(1.0401, 1.8039, 0.9551)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B14 #2B041B
analogous
#082B04 #042B14 #042B28
triadic
#042B14 #14042B #2B1404
tetradic
#042B14 #04082B #2B041B #2B2804
square
#042B14 #04082B #2B041B #2B2804
split-complementary
#042B14 #28042B #2B0408
monochromatic
#031C0D #031C0D #042B14 #09632E #0E9B48

Accessibility & contrast

On white

15.43
#042B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B14
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B14#FFFFFF#000000##FFFFFF
##042B141.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b14;
/* rgb */ color: rgb(4, 43, 20);
/* oklch */ color: oklch(25.5% 0.061 152.9);
Tailwind
colors: {
  custom: {
    50: '#4b6551',
    500: '#042b14',
    950: '#000000',
  },
}
SCSS
$custom: #042b14;
$custom-light: #4b6551;
$custom-dark: #000000;
JSON
{
  "hex": "#042b14",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 20
  },
  "hsl": {
    "h": 144.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25544,
    "c": 0.06081,
    "h": 152.9
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#042B14
secondary
#6E1D4D
accent
#2EA6F9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #042B14

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

Preview Lab → · Contrast checker → · Palette generator →

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