#2E3211#2E3211

#2E3211 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.052 H 115.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2E3211
RGBrgb(46, 50, 17)
HSLhsl(67, 49%, 13%)
HSVhsv(67, 66%, 20%)
CMYKcmyk(8%, 0%, 66%, 80.4%)
CIE-LABlab(19.65, -7.62, 20.07)
CIE-LCHlch(19.65, 21.46, 110.79°)
OKLaboklab(30.47% -0.0221 0.0468)
OKLCHoklch(30.47% 0.052 115.3)
XYZxyz(2.3685, 2.9026, 0.9657)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3211 #151132
analogous
#322511 #2E3211 #1D3211
triadic
#2E3211 #112E32 #32112E
tetradic
#2E3211 #113225 #151132 #32111D
square
#2E3211 #113225 #151132 #32111D
split-complementary
#2E3211 #111D32 #251132
monochromatic
#151708 #151708 #2E3211 #586021 #828D30

Accessibility & contrast

On white

13.29
#2E3211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E3211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3211
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3211#FFFFFF#000000##FFFFFF
##2E32111.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0E
Deuteranopia (green-blind)
#353013
Tritanopia (blue-blind)
#312F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3211;
/* rgb */ color: rgb(46, 50, 17);
/* oklch */ color: oklch(30.5% 0.052 115.3);
Tailwind
colors: {
  custom: {
    50: '#686950',
    500: '#2e3211',
    950: '#000000',
  },
}
SCSS
$custom: #2e3211;
$custom-light: #686950;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3211",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 17
  },
  "hsl": {
    "h": 67.273,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30468,
    "c": 0.05175,
    "h": 115.3
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#2E3211
secondary
#3B346B
accent
#4FD960
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E3211

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

Preview Lab → · Contrast checker → · Palette generator →

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