#2E3402#2E3402

#2E3402 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.069 H 116.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2E3402
RGBrgb(46, 52, 2)
HSLhsl(67, 93%, 11%)
HSVhsv(67, 96%, 20%)
CMYKcmyk(11.5%, 0%, 96.2%, 79.6%)
CIE-LABlab(20.21, -10.08, 27.41)
CIE-LCHlch(20.21, 29.20, 110.20°)
OKLaboklab(30.87% -0.031 0.0616)
OKLCHoklch(30.87% 0.069 116.7)
XYZxyz(2.3657, 3.0412, 0.5198)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3402 #080234
analogous
#342102 #2E3402 #153402
triadic
#2E3402 #022E34 #34022E
tetradic
#2E3402 #023421 #080234 #340215
square
#2E3402 #023421 #080234 #340215
split-complementary
#2E3402 #021534 #210234
monochromatic
#1A1D01 #1A1D01 #2E3402 #626F04 #96AA07

Accessibility & contrast

On white

13.06
#2E3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3402
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3402#FFFFFF#000000##FFFFFF
##2E34021.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383100
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3402;
/* rgb */ color: rgb(46, 52, 2);
/* oklch */ color: oklch(30.9% 0.069 116.7);
Tailwind
colors: {
  custom: {
    50: '#696b48',
    500: '#2e3402',
    950: '#000000',
  },
}
SCSS
$custom: #2e3402;
$custom-light: #696b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3402",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 67.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.06898,
    "h": 116.7
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#2E3402
secondary
#251A78
accent
#29FF43
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3402

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

Preview Lab → · Contrast checker → · Palette generator →

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