#2E3502#2E3502

#2E3502 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.070 H 117.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2E3502
RGBrgb(46, 53, 2)
HSLhsl(68, 93%, 11%)
HSVhsv(68, 96%, 21%)
CMYKcmyk(13.2%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.56, -10.69, 27.80)
CIE-LCHlch(20.56, 29.79, 111.03°)
OKLaboklab(31.16% -0.0326 0.0623)
OKLCHoklch(31.16% 0.07 117.7)
XYZxyz(2.4108, 3.1315, 0.5348)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3502 #090235
analogous
#352202 #2E3502 #143502
triadic
#2E3502 #022E35 #35022E
tetradic
#2E3502 #023522 #090235 #350214
square
#2E3502 #023522 #090235 #350214
split-complementary
#2E3502 #021435 #220235
monochromatic
#1A1D01 #1A1D01 #2E3502 #617004 #94AB06

Accessibility & contrast

On white

12.91
#2E3502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E3502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3502
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3502#FFFFFF#000000##FFFFFF
##2E35021.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393206
Tritanopia (blue-blind)
#32312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3502;
/* rgb */ color: rgb(46, 53, 2);
/* oklch */ color: oklch(31.2% 0.070 117.7);
Tailwind
colors: {
  custom: {
    50: '#696c48',
    500: '#2e3502',
    950: '#000000',
  },
}
SCSS
$custom: #2e3502;
$custom-light: #696c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3502",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 68.235,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31156,
    "c": 0.0703,
    "h": 117.7
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#2E3502
secondary
#271A79
accent
#29FF46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3502

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

Preview Lab → · Contrast checker → · Palette generator →

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