#2E4020#2E4020

#2E4020 is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.057 H 132.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4020
RGBrgb(46, 64, 32)
HSLhsl(94, 33%, 19%)
HSVhsv(94, 50%, 25%)
CMYKcmyk(28.1%, 0%, 50%, 74.9%)
CIE-LABlab(24.80, -14.07, 17.26)
CIE-LCHlch(24.80, 22.27, 129.19°)
OKLaboklab(34.69% -0.0387 0.042)
OKLCHoklch(34.69% 0.057 132.7)
XYZxyz(3.2208, 4.3518, 2.0365)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4020 #322040
analogous
#3E4020 #2E4020 #204022
triadic
#2E4020 #202E40 #40202E
tetradic
#2E4020 #203E40 #322040 #402220
square
#2E4020 #203E40 #322040 #402220
split-complementary
#2E4020 #222040 #40203E
monochromatic
#0F140A #11170C #2E4020 #4B6934 #699249

Accessibility & contrast

On white

11.23
#2E4020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E4020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4020
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4020#FFFFFF#000000##FFFFFF
##2E40201.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1D
Deuteranopia (green-blind)
#403A22
Tritanopia (blue-blind)
#2E3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4020;
/* rgb */ color: rgb(46, 64, 32);
/* oklch */ color: oklch(34.7% 0.057 132.7);
Tailwind
colors: {
  custom: {
    50: '#67755c',
    500: '#2e4020',
    950: '#000000',
  },
}
SCSS
$custom: #2e4020;
$custom-light: #67755c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4020",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 93.75,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.05712,
    "h": 132.7
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2E4020
secondary
#614874
accent
#5EC99B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2E4020

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

Preview Lab → · Contrast checker → · Palette generator →

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