#2E330C#2E330C

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

Color values

HEX#2E330C
RGBrgb(46, 51, 12)
HSLhsl(68, 62%, 12%)
HSVhsv(68, 76%, 20%)
CMYKcmyk(9.8%, 0%, 76.5%, 80%)
CIE-LABlab(19.94, -8.71, 22.99)
CIE-LCHlch(19.94, 24.58, 110.76°)
OKLaboklab(30.69% -0.0258 0.0525)
OKLCHoklch(30.69% 0.059 116.2)
XYZxyz(2.3770, 2.9751, 0.7968)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E330C #110C33
analogous
#33240C #2E330C #1B330C
triadic
#2E330C #0C2E33 #330C2E
tetradic
#2E330C #0C3324 #110C33 #330C1B
square
#2E330C #0C3324 #110C33 #330C1B
split-complementary
#2E330C #0C1B33 #240C33
monochromatic
#161906 #161906 #2E330C #5B6518 #879623

Accessibility & contrast

On white

13.17
#2E330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E330C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E330C#FFFFFF#000000##FFFFFF
##2E330C1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e330c;
/* rgb */ color: rgb(46, 51, 12);
/* oklch */ color: oklch(30.7% 0.059 116.2);
Tailwind
colors: {
  custom: {
    50: '#686a4d',
    500: '#2e330c',
    950: '#000000',
  },
}
SCSS
$custom: #2e330c;
$custom-light: #686a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e330c",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 67.692,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.05854,
    "h": 116.2
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#2E330C
secondary
#342C6F
accent
#43E558
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E330C

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

Preview Lab → · Contrast checker → · Palette generator →

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