#2E3202#2E3202

#2E3202 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.3% C 0.066 H 114.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2E3202
RGBrgb(46, 50, 2)
HSLhsl(65, 92%, 10%)
HSVhsv(65, 96%, 20%)
CMYKcmyk(8%, 0%, 96%, 80.4%)
CIE-LABlab(19.50, -8.86, 26.60)
CIE-LCHlch(19.50, 28.04, 108.41°)
OKLaboklab(30.3% -0.0276 0.0604)
OKLCHoklch(30.3% 0.066 114.6)
XYZxyz(2.2783, 2.8665, 0.4907)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3202 #060232
analogous
#321E02 #2E3202 #163202
triadic
#2E3202 #022E32 #32022E
tetradic
#2E3202 #02321E #060232 #320216
square
#2E3202 #02321E #060232 #320216
split-complementary
#2E3202 #021632 #1E0232
monochromatic
#1B1D01 #1B1D01 #2E3202 #646D04 #9AA807

Accessibility & contrast

On white

13.35
#2E3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E3202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3202
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3202#FFFFFF#000000##FFFFFF
##2E32021.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#363005
Tritanopia (blue-blind)
#322E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3202;
/* rgb */ color: rgb(46, 50, 2);
/* oklch */ color: oklch(30.3% 0.066 114.6);
Tailwind
colors: {
  custom: {
    50: '#686948',
    500: '#2e3202',
    950: '#000000',
  },
}
SCSS
$custom: #2e3202;
$custom-light: #686948;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3202",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 65,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.06638,
    "h": 114.6
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#2E3202
secondary
#211976
accent
#29FF3B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3202

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

Preview Lab → · Contrast checker → · Palette generator →

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