#2E330B#2E330B

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

Color values

HEX#2E330B
RGBrgb(46, 51, 11)
HSLhsl(68, 65%, 12%)
HSVhsv(68, 78%, 20%)
CMYKcmyk(9.8%, 0%, 78.4%, 80%)
CIE-LABlab(19.93, -8.79, 23.42)
CIE-LCHlch(19.93, 25.02, 110.58°)
OKLaboklab(30.68% -0.0262 0.0534)
OKLCHoklch(30.68% 0.059 116.1)
XYZxyz(2.3710, 2.9727, 0.7654)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E330B #100B33
analogous
#33240B #2E330B #1A330B
triadic
#2E330B #0B2E33 #330B2E
tetradic
#2E330B #0B3324 #100B33 #330B1A
square
#2E330B #0B3324 #100B33 #330B1A
split-complementary
#2E330B #0B1A33 #240B33
monochromatic
#171905 #171905 #2E330B #5B6516 #899821

Accessibility & contrast

On white

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

On black

1.59
#2E330B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E330B#FFFFFF#000000##FFFFFF
##2E330B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e330b;
/* rgb */ color: rgb(46, 51, 11);
/* oklch */ color: oklch(30.7% 0.059 116.1);
Tailwind
colors: {
  custom: {
    50: '#686a4d',
    500: '#2e330b',
    950: '#000000',
  },
}
SCSS
$custom: #2e330b;
$custom-light: #686a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e330b",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 67.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.05948,
    "h": 116.1
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#2E330B
secondary
#332A70
accent
#40E855
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E330B

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

Preview Lab → · Contrast checker → · Palette generator →

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