#2E3509#2E3509

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

Color values

HEX#2E3509
RGBrgb(46, 53, 9)
HSLhsl(70, 71%, 12%)
HSVhsv(70, 83%, 21%)
CMYKcmyk(13.2%, 0%, 83%, 79.2%)
CIE-LABlab(20.62, -10.17, 25.02)
CIE-LCHlch(20.62, 27.01, 112.13°)
OKLaboklab(31.22% -0.0303 0.0565)
OKLCHoklch(31.22% 0.064 118.2)
XYZxyz(2.4492, 3.1468, 0.7368)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3509 #100935
analogous
#352609 #2E3509 #183509
triadic
#2E3509 #092E35 #35092E
tetradic
#2E3509 #093526 #100935 #350918
square
#2E3509 #093526 #100935 #350918
split-complementary
#2E3509 #091835 #260935
monochromatic
#171A04 #171A04 #2E3509 #5B6912 #899E1B

Accessibility & contrast

On white

12.89
#2E3509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3509
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3509#FFFFFF#000000##FFFFFF
##2E35091.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393203
Deuteranopia (green-blind)
#38320D
Tritanopia (blue-blind)
#31322C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3509;
/* rgb */ color: rgb(46, 53, 9);
/* oklch */ color: oklch(31.2% 0.064 118.2);
Tailwind
colors: {
  custom: {
    50: '#686c4c',
    500: '#2e3509',
    950: '#000000',
  },
}
SCSS
$custom: #2e3509;
$custom-light: #686c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3509",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 9
  },
  "hsl": {
    "h": 69.545,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31223,
    "c": 0.06411,
    "h": 118.2
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#2E3509
secondary
#332773
accent
#3AEE57
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3509

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

Preview Lab → · Contrast checker → · Palette generator →

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