#2E3302#2E3302

#2E3302 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.6% C 0.068 H 115.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2E3302
RGBrgb(46, 51, 2)
HSLhsl(66, 92%, 10%)
HSVhsv(66, 96%, 20%)
CMYKcmyk(9.8%, 0%, 96.1%, 80%)
CIE-LABlab(19.85, -9.47, 27.01)
CIE-LCHlch(19.85, 28.62, 109.33°)
OKLaboklab(30.59% -0.0293 0.061)
OKLCHoklch(30.59% 0.068 115.7)
XYZxyz(2.3216, 2.9529, 0.5051)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3302 #070233
analogous
#331F02 #2E3302 #163302
triadic
#2E3302 #022E33 #33022E
tetradic
#2E3302 #02331F #070233 #330216
square
#2E3302 #02331F #070233 #330216
split-complementary
#2E3302 #021633 #1F0233
monochromatic
#1B1D01 #1B1D01 #2E3302 #636E04 #98A907

Accessibility & contrast

On white

13.20
#2E3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3302
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3302#FFFFFF#000000##FFFFFF
##2E33021.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#322F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3302;
/* rgb */ color: rgb(46, 51, 2);
/* oklch */ color: oklch(30.6% 0.068 115.7);
Tailwind
colors: {
  custom: {
    50: '#686a48',
    500: '#2e3302',
    950: '#000000',
  },
}
SCSS
$custom: #2e3302;
$custom-light: #686a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3302",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 66.122,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.06767,
    "h": 115.7
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#2E3302
secondary
#231A77
accent
#29FF3F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3302

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

Preview Lab → · Contrast checker → · Palette generator →

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