#2E451F#2E451F

#2E451F is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.067 H 134.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2E451F
RGBrgb(46, 69, 31)
HSLhsl(96, 38%, 20%)
HSVhsv(96, 55%, 27%)
CMYKcmyk(33.3%, 0%, 55.1%, 72.9%)
CIE-LABlab(26.55, -17.03, 20.03)
CIE-LCHlch(26.55, 26.30, 130.37°)
OKLaboklab(36.1% -0.047 0.0482)
OKLCHoklch(36.1% 0.067 134.3)
XYZxyz(3.5021, 4.9359, 2.0643)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E451F #361F45
analogous
#41451F #2E451F #1F4523
triadic
#2E451F #1F2E45 #451F2E
tetradic
#2E451F #1F4145 #361F45 #45231F
square
#2E451F #1F4145 #361F45 #45231F
split-complementary
#2E451F #231F45 #451F41
monochromatic
#0E1509 #121B0C #2E451F #4A6F32 #669945

Accessibility & contrast

On white

10.57
#2E451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E451F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E451F#FFFFFF#000000##FFFFFF
##2E451F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401C
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#2E423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e451f;
/* rgb */ color: rgb(46, 69, 31);
/* oklch */ color: oklch(36.1% 0.067 134.3);
Tailwind
colors: {
  custom: {
    50: '#68795b',
    500: '#2e451f',
    950: '#000000',
  },
}
SCSS
$custom: #2e451f;
$custom-light: #68795b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e451f",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 96.316,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.06729,
    "h": 134.3
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#2E451F
secondary
#654679
accent
#5ACEA0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2E451F

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

Preview Lab → · Contrast checker → · Palette generator →

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