#2E4022#2E4022

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

Color values

HEX#2E4022
RGBrgb(46, 64, 34)
HSLhsl(96, 31%, 19%)
HSVhsv(96, 47%, 25%)
CMYKcmyk(28.1%, 0%, 46.9%, 74.9%)
CIE-LABlab(24.84, -13.75, 16.07)
CIE-LCHlch(24.84, 21.15, 130.56°)
OKLaboklab(34.73% -0.0377 0.0394)
OKLCHoklch(34.73% 0.055 133.8)
XYZxyz(3.2488, 4.3630, 2.1840)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4022 #342240
analogous
#3D4022 #2E4022 #224025
triadic
#2E4022 #222E40 #40222E
tetradic
#2E4022 #223D40 #342240 #402522
square
#2E4022 #223D40 #342240 #402522
split-complementary
#2E4022 #252240 #40223D
monochromatic
#0E140B #11180D #2E4022 #4B6837 #67904C

Accessibility & contrast

On white

11.21
#2E4022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4022
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4022#FFFFFF#000000##FFFFFF
##2E40221.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#403A24
Tritanopia (blue-blind)
#2E3E39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4022;
/* rgb */ color: rgb(46, 64, 34);
/* oklch */ color: oklch(34.7% 0.055 133.8);
Tailwind
colors: {
  custom: {
    50: '#67755d',
    500: '#2e4022',
    950: '#000000',
  },
}
SCSS
$custom: #2e4022;
$custom-light: #67755d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4022",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.05454,
    "h": 133.8
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#2E4022
secondary
#634B73
accent
#61C79E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2E4022

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

Preview Lab → · Contrast checker → · Palette generator →

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