#2E4004#2E4004

#2E4004 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.084 H 125.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2E4004
RGBrgb(46, 64, 4)
HSLhsl(78, 88%, 13%)
HSVhsv(78, 94%, 25%)
CMYKcmyk(28.1%, 0%, 93.8%, 74.9%)
CIE-LABlab(24.50, -16.88, 31.10)
CIE-LCHlch(24.50, 35.38, 118.49°)
OKLaboklab(34.35% -0.0492 0.0679)
OKLCHoklch(34.35% 0.084 125.9)
XYZxyz(2.9820, 4.2564, 0.7793)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4004 #160440
analogous
#403404 #2E4004 #104004
triadic
#2E4004 #042E40 #40042E
tetradic
#2E4004 #044034 #160440 #400410
square
#2E4004 #044034 #160440 #400410
split-complementary
#2E4004 #041040 #340440
monochromatic
#151D02 #151D02 #2E4004 #577A08 #81B30B

Accessibility & contrast

On white

11.34
#2E4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E4004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4004
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4004#FFFFFF#000000##FFFFFF
##2E40041.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423A0A
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4004;
/* rgb */ color: rgb(46, 64, 4);
/* oklch */ color: oklch(34.3% 0.084 125.9);
Tailwind
colors: {
  custom: {
    50: '#69754b',
    500: '#2e4004',
    950: '#000000',
  },
}
SCSS
$custom: #2e4004;
$custom-light: #69754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4004",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 78,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.08381,
    "h": 125.9
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#2E4004
secondary
#3C1F81
accent
#29FE69
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4004

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

Preview Lab → · Contrast checker → · Palette generator →

#2E4004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva