#2E330E#2E330E

#2E330E is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.057 H 116.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2E330E
RGBrgb(46, 51, 14)
HSLhsl(68, 57%, 13%)
HSVhsv(68, 73%, 20%)
CMYKcmyk(9.8%, 0%, 72.5%, 80%)
CIE-LABlab(19.96, -8.54, 22.05)
CIE-LCHlch(19.96, 23.65, 111.16°)
OKLaboklab(30.71% -0.0251 0.0507)
OKLCHoklch(30.71% 0.057 116.3)
XYZxyz(2.3899, 2.9802, 0.8647)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E330E #130E33
analogous
#33250E #2E330E #1B330E
triadic
#2E330E #0E2E33 #330E2E
tetradic
#2E330E #0E3325 #130E33 #330E1B
square
#2E330E #0E3325 #130E33 #330E1B
split-complementary
#2E330E #0E1B33 #250E33
monochromatic
#161807 #161807 #2E330E #59631B #859328

Accessibility & contrast

On white

13.16
#2E330E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E330E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E330E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E330E#FFFFFF#000000##FFFFFF
##2E330E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300A
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#31302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e330e;
/* rgb */ color: rgb(46, 51, 14);
/* oklch */ color: oklch(30.7% 0.057 116.3);
Tailwind
colors: {
  custom: {
    50: '#686a4e',
    500: '#2e330e',
    950: '#000000',
  },
}
SCSS
$custom: #2e330e;
$custom-light: #686a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e330e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 14
  },
  "hsl": {
    "h": 68.108,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3071,
    "c": 0.05656,
    "h": 116.3
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#2E330E
secondary
#382F6E
accent
#48E05C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E330E

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

Preview Lab → · Contrast checker → · Palette generator →

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