#2E340A#2E340A

#2E340A is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 30.9% C 0.062 H 117.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2E340A
RGBrgb(46, 52, 10)
HSLhsl(69, 68%, 12%)
HSVhsv(69, 81%, 20%)
CMYKcmyk(11.5%, 0%, 80.8%, 79.6%)
CIE-LABlab(20.28, -9.49, 24.23)
CIE-LCHlch(20.28, 26.02, 111.39°)
OKLaboklab(30.95% -0.0282 0.055)
OKLCHoklch(30.95% 0.062 117.2)
XYZxyz(2.4095, 3.0588, 0.7506)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340A #100A34
analogous
#34250A #2E340A #19340A
triadic
#2E340A #0A2E34 #340A2E
tetradic
#2E340A #0A3425 #100A34 #340A19
square
#2E340A #0A3425 #100A34 #340A19
split-complementary
#2E340A #0A1934 #250A34
monochromatic
#171A05 #171A05 #2E340A #5B6714 #899B1E

Accessibility & contrast

On white

13.03
#2E340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E340A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340A#FFFFFF#000000##FFFFFF
##2E340A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383105
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e340a;
/* rgb */ color: rgb(46, 52, 10);
/* oklch */ color: oklch(30.9% 0.062 117.2);
Tailwind
colors: {
  custom: {
    50: '#686b4c',
    500: '#2e340a',
    950: '#000000',
  },
}
SCSS
$custom: #2e340a;
$custom-light: #686b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340a",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 68.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30948,
    "c": 0.06181,
    "h": 117.2
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#2E340A
secondary
#332871
accent
#3DEB56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E340A

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

Preview Lab → · Contrast checker → · Palette generator →

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