#2E4009#2E4009

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

Color values

HEX#2E4009
RGBrgb(46, 64, 9)
HSLhsl(80, 75%, 14%)
HSVhsv(80, 86%, 25%)
CMYKcmyk(28.1%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.54, -16.55, 29.09)
CIE-LCHlch(24.54, 33.47, 119.63°)
OKLaboklab(34.39% -0.0478 0.0645)
OKLCHoklch(34.39% 0.08 126.5)
XYZxyz(3.0094, 4.2673, 0.9235)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4009 #1B0940
analogous
#403709 #2E4009 #134009
triadic
#2E4009 #092E40 #40092E
tetradic
#2E4009 #094037 #1B0940 #400913
square
#2E4009 #094037 #1B0940 #400913
split-complementary
#2E4009 #091340 #370940
monochromatic
#131B04 #131B04 #2E4009 #557611 #7BAB18

Accessibility & contrast

On white

11.33
#2E4009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4009
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4009#FFFFFF#000000##FFFFFF
##2E40091.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4009;
/* rgb */ color: rgb(46, 64, 9);
/* oklch */ color: oklch(34.4% 0.080 126.5);
Tailwind
colors: {
  custom: {
    50: '#69754d',
    500: '#2e4009',
    950: '#000000',
  },
}
SCSS
$custom: #2e4009;
$custom-light: #69754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4009",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 79.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.08024,
    "h": 126.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#2E4009
secondary
#43277E
accent
#36F273
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4009

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

Preview Lab → · Contrast checker → · Palette generator →

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