#042E14#042E14

#042E14 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.6% C 0.066 H 151.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#042E14
RGBrgb(4, 46, 20)
HSLhsl(143, 84%, 10%)
HSVhsv(143, 91%, 18%)
CMYKcmyk(91.3%, 0%, 56.5%, 82%)
CIE-LABlab(15.64, -21.51, 12.78)
CIE-LCHlch(15.64, 25.02, 149.29°)
OKLaboklab(26.56% -0.0578 0.0313)
OKLCHoklch(26.56% 0.066 151.5)
XYZxyz(1.1532, 2.0302, 0.9928)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E14 #2E041E
analogous
#092E04 #042E14 #042E29
triadic
#042E14 #14042E #2E1404
tetradic
#042E14 #04092E #2E041E #2E2904
square
#042E14 #04092E #2E041E #2E2904
split-complementary
#042E14 #29042E #2E0409
monochromatic
#021C0C #021C0C #042E14 #09662C #0E9F45

Accessibility & contrast

On white

14.94
#042E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E14
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E14#FFFFFF#000000##FFFFFF
##042E141.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2912
Deuteranopia (green-blind)
#292616
Tritanopia (blue-blind)
#002D28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e14;
/* rgb */ color: rgb(4, 46, 20);
/* oklch */ color: oklch(26.6% 0.066 151.5);
Tailwind
colors: {
  custom: {
    50: '#4b6751',
    500: '#042e14',
    950: '#000000',
  },
}
SCSS
$custom: #042e14;
$custom-light: #4b6751;
$custom-dark: #000000;
JSON
{
  "hex": "#042e14",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 20
  },
  "hsl": {
    "h": 142.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26555,
    "c": 0.06572,
    "h": 151.5
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#042E14
secondary
#711D51
accent
#2EACFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #042E14

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

Preview Lab → · Contrast checker → · Palette generator →

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