#042E05#042E05

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

Color values

HEX#042E05
RGBrgb(4, 46, 5)
HSLhsl(121, 84%, 10%)
HSVhsv(121, 91%, 18%)
CMYKcmyk(91.3%, 0%, 89.1%, 82%)
CIE-LABlab(15.44, -23.99, 19.86)
CIE-LCHlch(15.44, 31.15, 140.38°)
OKLaboklab(26.32% -0.065 0.0487)
OKLCHoklch(26.32% 0.081 143.2)
XYZxyz(1.0544, 1.9906, 0.4722)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E05 #2E042D
analogous
#182E04 #042E05 #042E1A
triadic
#042E05 #05042E #2E0504
tetradic
#042E05 #04182E #2E042D #2E1A04
square
#042E05 #04182E #2E042D #2E1A04
split-complementary
#042E05 #1A042E #2E0418
monochromatic
#021C03 #021C03 #042E05 #09660B #0E9F11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042E05#FFFFFF#000000##FFFFFF
##042E051.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)
#2F2901
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e05;
/* rgb */ color: rgb(4, 46, 5);
/* oklch */ color: oklch(26.3% 0.081 143.2);
Tailwind
colors: {
  custom: {
    50: '#4c6749',
    500: '#042e05',
    950: '#000000',
  },
}
SCSS
$custom: #042e05;
$custom-light: #4c6749;
$custom-dark: #000000;
JSON
{
  "hex": "#042e05",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 121.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26316,
    "c": 0.08123,
    "h": 143.2
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#042E05
secondary
#711D6F
accent
#2EF5FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #042E05

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

Preview Lab → · Contrast checker → · Palette generator →

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