#2E340E#2E340E

#2E340E is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.058 H 117.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E340E
RGBrgb(46, 52, 14)
HSLhsl(69, 58%, 13%)
HSVhsv(69, 73%, 20%)
CMYKcmyk(11.5%, 0%, 73.1%, 79.6%)
CIE-LABlab(20.32, -9.16, 22.45)
CIE-LCHlch(20.32, 24.25, 112.20°)
OKLaboklab(30.99% -0.0268 0.0515)
OKLCHoklch(30.99% 0.058 117.5)
XYZxyz(2.4340, 3.0686, 0.8794)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340E #140E34
analogous
#34270E #2E340E #1B340E
triadic
#2E340E #0E2E34 #340E2E
tetradic
#2E340E #0E3427 #140E34 #340E1B
square
#2E340E #0E3427 #140E34 #340E1B
split-complementary
#2E340E #0E1B34 #270E34
monochromatic
#151806 #151806 #2E340E #59641B #839428

Accessibility & contrast

On white

13.01
#2E340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E340E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E340E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340E#FFFFFF#000000##FFFFFF
##2E340E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383109
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e340e;
/* rgb */ color: rgb(46, 52, 14);
/* oklch */ color: oklch(31.0% 0.058 117.5);
Tailwind
colors: {
  custom: {
    50: '#686b4e',
    500: '#2e340e',
    950: '#000000',
  },
}
SCSS
$custom: #2e340e;
$custom-light: #686b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 69.474,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.05806,
    "h": 117.5
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2E340E
secondary
#392F6F
accent
#47E15F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E340E

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

Preview Lab → · Contrast checker → · Palette generator →

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