#2E4006#2E4006

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

Color values

HEX#2E4006
RGBrgb(46, 64, 6)
HSLhsl(79, 83%, 14%)
HSVhsv(79, 91%, 25%)
CMYKcmyk(28.1%, 0%, 90.6%, 74.9%)
CIE-LABlab(24.52, -16.74, 30.30)
CIE-LCHlch(24.52, 34.61, 118.93°)
OKLaboklab(34.36% -0.0486 0.0665)
OKLCHoklch(34.36% 0.082 126.2)
XYZxyz(2.9930, 4.2607, 0.8370)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4006 #180640
analogous
#403506 #2E4006 #114006
triadic
#2E4006 #062E40 #40062E
tetradic
#2E4006 #064035 #180640 #400611
square
#2E4006 #064035 #180640 #400611
split-complementary
#2E4006 #061140 #350640
monochromatic
#141C03 #141C03 #2E4006 #56780B #7EB010

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4006#FFFFFF#000000##FFFFFF
##2E40061.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)
#423A0C
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4006;
/* rgb */ color: rgb(46, 64, 6);
/* oklch */ color: oklch(34.4% 0.082 126.2);
Tailwind
colors: {
  custom: {
    50: '#69754c',
    500: '#2e4006',
    950: '#000000',
  },
}
SCSS
$custom: #2e4006;
$custom-light: #69754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4006",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 6
  },
  "hsl": {
    "h": 78.621,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34361,
    "c": 0.08236,
    "h": 126.2
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#2E4006
secondary
#3F2280
accent
#2FF96D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4006

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

Preview Lab → · Contrast checker → · Palette generator →

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