#042E04#042E04

#042E04 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.082 H 142.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#042E04
RGBrgb(4, 46, 4)
HSLhsl(120, 84%, 10%)
HSVhsv(120, 91%, 18%)
CMYKcmyk(91.3%, 0%, 91.3%, 82%)
CIE-LABlab(15.43, -24.14, 20.25)
CIE-LCHlch(15.43, 31.51, 140.00°)
OKLaboklab(26.3% -0.0655 0.0498)
OKLCHoklch(26.3% 0.082 142.8)
XYZxyz(1.0489, 1.9884, 0.4434)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E04 #2E042E
analogous
#192E04 #042E04 #042E19
triadic
#042E04 #04042E #2E0404
tetradic
#042E04 #04192E #2E042E #2E1904
square
#042E04 #04192E #2E042E #2E1904
split-complementary
#042E04 #19042E #2E0419
monochromatic
#021C02 #021C02 #042E04 #096609 #0E9F0E

Accessibility & contrast

On white

15.02
#042E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E04
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E04#FFFFFF#000000##FFFFFF
##042E041.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2B2508
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e04;
/* rgb */ color: rgb(4, 46, 4);
/* oklch */ color: oklch(26.3% 0.082 142.8);
Tailwind
colors: {
  custom: {
    50: '#4c6748',
    500: '#042e04',
    950: '#000000',
  },
}
SCSS
$custom: #042e04;
$custom-light: #4c6748;
$custom-dark: #000000;
JSON
{
  "hex": "#042e04",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26303,
    "c": 0.08227,
    "h": 142.8
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#042E04
secondary
#711D71
accent
#2EFAFA
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #042E04

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

Preview Lab → · Contrast checker → · Palette generator →

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