#2E421F#2E421F

#2E421F is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.062 H 133.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2E421F
RGBrgb(46, 66, 31)
HSLhsl(94, 36%, 19%)
HSVhsv(94, 53%, 26%)
CMYKcmyk(30.3%, 0%, 53%, 74.1%)
CIE-LABlab(25.49, -15.36, 18.73)
CIE-LCHlch(25.49, 24.22, 129.36°)
OKLaboklab(35.24% -0.0424 0.0452)
OKLCHoklch(35.24% 0.062 133.1)
XYZxyz(3.3222, 4.5761, 2.0043)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E421F #331F42
analogous
#40421F #2E421F #1F4222
triadic
#2E421F #1F2E42 #421F2E
tetradic
#2E421F #1F4042 #331F42 #42221F
square
#2E421F #1F4042 #331F42 #42221F
split-complementary
#2E421F #221F42 #421F40
monochromatic
#0F150A #11180B #2E421F #4B6C33 #689546

Accessibility & contrast

On white

10.96
#2E421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E421F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E421F#FFFFFF#000000##FFFFFF
##2E421F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D1C
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#2E403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e421f;
/* rgb */ color: rgb(46, 66, 31);
/* oklch */ color: oklch(35.2% 0.062 133.1);
Tailwind
colors: {
  custom: {
    50: '#68765b',
    500: '#2e421f',
    950: '#000000',
  },
}
SCSS
$custom: #2e421f;
$custom-light: #68765b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e421f",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 94.286,
    "s": 36.082,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35237,
    "c": 0.06198,
    "h": 133.1
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#2E421F
secondary
#624776
accent
#5CCC9C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2E421F

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

Preview Lab → · Contrast checker → · Palette generator →

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