#2E340C#2E340C

#2E340C is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.060 H 117.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2E340C
RGBrgb(46, 52, 12)
HSLhsl(69, 63%, 13%)
HSVhsv(69, 77%, 20%)
CMYKcmyk(11.5%, 0%, 76.9%, 79.6%)
CIE-LABlab(20.30, -9.33, 23.39)
CIE-LCHlch(20.30, 25.18, 111.75°)
OKLaboklab(30.97% -0.0276 0.0533)
OKLCHoklch(30.97% 0.06 117.3)
XYZxyz(2.4211, 3.0634, 0.8115)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340C #120C34
analogous
#34260C #2E340C #1A340C
triadic
#2E340C #0C2E34 #340C2E
tetradic
#2E340C #0C3426 #120C34 #340C1A
square
#2E340C #0C3426 #120C34 #340C1A
split-complementary
#2E340C #0C1A34 #260C34
monochromatic
#161906 #161906 #2E340C #5A6617 #869723

Accessibility & contrast

On white

13.02
#2E340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E340C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340C#FFFFFF#000000##FFFFFF
##2E340C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e340c;
/* rgb */ color: rgb(46, 52, 12);
/* oklch */ color: oklch(31.0% 0.060 117.3);
Tailwind
colors: {
  custom: {
    50: '#686b4d',
    500: '#2e340c',
    950: '#000000',
  },
}
SCSS
$custom: #2e340c;
$custom-light: #686b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340c",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 69,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30969,
    "c": 0.06001,
    "h": 117.3
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#2E340C
secondary
#362C70
accent
#42E65B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E340C

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

Preview Lab → · Contrast checker → · Palette generator →

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