#2E330A#2E330A

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

Color values

HEX#2E330A
RGBrgb(46, 51, 10)
HSLhsl(67, 67%, 12%)
HSVhsv(67, 80%, 20%)
CMYKcmyk(9.8%, 0%, 80.4%, 80%)
CIE-LABlab(19.93, -8.87, 23.83)
CIE-LCHlch(19.93, 25.43, 110.42°)
OKLaboklab(30.67% -0.0265 0.0542)
OKLCHoklch(30.67% 0.06 116.1)
XYZxyz(2.3654, 2.9704, 0.7358)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E330A #0F0A33
analogous
#33240A #2E330A #1A330A
triadic
#2E330A #0A2E33 #330A2E
tetradic
#2E330A #0A3324 #0F0A33 #330A1A
square
#2E330A #0A3324 #0F0A33 #330A1A
split-complementary
#2E330A #0A1A33 #240A33
monochromatic
#171A05 #171A05 #2E330A #5C6614 #8A991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E330A#FFFFFF#000000##FFFFFF
##2E330A1.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)
#373005
Deuteranopia (green-blind)
#37300D
Tritanopia (blue-blind)
#31302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e330a;
/* rgb */ color: rgb(46, 51, 10);
/* oklch */ color: oklch(30.7% 0.060 116.1);
Tailwind
colors: {
  custom: {
    50: '#686a4c',
    500: '#2e330a',
    950: '#000000',
  },
}
SCSS
$custom: #2e330a;
$custom-light: #686a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e330a",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 67.317,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.06037,
    "h": 116.1
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#2E330A
secondary
#312870
accent
#3EEA53
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E330A

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

Preview Lab → · Contrast checker → · Palette generator →

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