#042E06#042E06

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

Color values

HEX#042E06
RGBrgb(4, 46, 6)
HSLhsl(123, 84%, 10%)
HSVhsv(123, 91%, 18%)
CMYKcmyk(91.3%, 0%, 87%, 82%)
CIE-LABlab(15.45, -23.85, 19.47)
CIE-LCHlch(15.45, 30.79, 140.78°)
OKLaboklab(26.33% -0.0646 0.0476)
OKLCHoklch(26.33% 0.08 143.6)
XYZxyz(1.0599, 1.9928, 0.5011)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E06 #2E042C
analogous
#172E04 #042E06 #042E1B
triadic
#042E06 #06042E #2E0604
tetradic
#042E06 #04172E #2E042C #2E1B04
square
#042E06 #04172E #2E042C #2E1B04
split-complementary
#042E06 #1B042E #2E0417
monochromatic
#021C04 #021C04 #042E06 #09660D #0E9F15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042E06#FFFFFF#000000##FFFFFF
##042E061.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)
#2F2902
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e06;
/* rgb */ color: rgb(4, 46, 6);
/* oklch */ color: oklch(26.3% 0.080 143.6);
Tailwind
colors: {
  custom: {
    50: '#4c6749',
    500: '#042e06',
    950: '#000000',
  },
}
SCSS
$custom: #042e06;
$custom-light: #4c6749;
$custom-dark: #000000;
JSON
{
  "hex": "#042e06",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 122.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2633,
    "c": 0.08021,
    "h": 143.6
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#042E06
secondary
#711D6D
accent
#2EF1FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #042E06

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

Preview Lab → · Contrast checker → · Palette generator →

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