#2E4008#2E4008

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

Color values

HEX#2E4008
RGBrgb(46, 64, 8)
HSLhsl(79, 78%, 14%)
HSVhsv(79, 88%, 25%)
CMYKcmyk(28.1%, 0%, 87.5%, 74.9%)
CIE-LABlab(24.53, -16.61, 29.49)
CIE-LCHlch(24.53, 33.85, 119.39°)
OKLaboklab(34.38% -0.048 0.0651)
OKLCHoklch(34.38% 0.081 126.4)
XYZxyz(3.0040, 4.2651, 0.8947)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4008 #1A0840
analogous
#403608 #2E4008 #124008
triadic
#2E4008 #082E40 #40082E
tetradic
#2E4008 #084036 #1A0840 #400812
square
#2E4008 #084036 #1A0840 #400812
split-complementary
#2E4008 #081240 #360840
monochromatic
#141B03 #141B03 #2E4008 #55760F #7CAD16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4008#FFFFFF#000000##FFFFFF
##2E40081.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)
#443B00
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4008;
/* rgb */ color: rgb(46, 64, 8);
/* oklch */ color: oklch(34.4% 0.081 126.4);
Tailwind
colors: {
  custom: {
    50: '#69754d',
    500: '#2e4008',
    950: '#000000',
  },
}
SCSS
$custom: #2e4008;
$custom-light: #69754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4008",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 79.286,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34377,
    "c": 0.08094,
    "h": 126.4
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#2E4008
secondary
#42257E
accent
#34F471
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4008

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

Preview Lab → · Contrast checker → · Palette generator →

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