#042E09#042E09

#042E09 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.077 H 144.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#042E09
RGBrgb(4, 46, 9)
HSLhsl(127, 84%, 10%)
HSVhsv(127, 91%, 18%)
CMYKcmyk(91.3%, 0%, 80.4%, 82%)
CIE-LABlab(15.48, -23.43, 18.29)
CIE-LCHlch(15.48, 29.72, 142.02°)
OKLaboklab(26.37% -0.0632 0.0444)
OKLCHoklch(26.37% 0.077 144.9)
XYZxyz(1.0763, 1.9994, 0.5876)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E09 #2E0429
analogous
#142E04 #042E09 #042E1E
triadic
#042E09 #09042E #2E0904
tetradic
#042E09 #04142E #2E0429 #2E1E04
square
#042E09 #04142E #2E0429 #2E1E04
split-complementary
#042E09 #1E042E #2E0414
monochromatic
#021C06 #021C06 #042E09 #096614 #0E9F1F

Accessibility & contrast

On white

15.00
#042E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E09
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E09#FFFFFF#000000##FFFFFF
##042E091.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#002D26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e09;
/* rgb */ color: rgb(4, 46, 9);
/* oklch */ color: oklch(26.4% 0.077 144.9);
Tailwind
colors: {
  custom: {
    50: '#4c674b',
    500: '#042e09',
    950: '#000000',
  },
}
SCSS
$custom: #042e09;
$custom-light: #4c674b;
$custom-dark: #000000;
JSON
{
  "hex": "#042e09",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 127.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.07727,
    "h": 144.9
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#042E09
secondary
#711D67
accent
#2EE2FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #042E09

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

Preview Lab → · Contrast checker → · Palette generator →

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