#2E3506#2E3506

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

Color values

HEX#2E3506
RGBrgb(46, 53, 6)
HSLhsl(69, 80%, 12%)
HSVhsv(69, 89%, 21%)
CMYKcmyk(13.2%, 0%, 88.7%, 79.2%)
CIE-LABlab(20.60, -10.39, 26.21)
CIE-LCHlch(20.60, 28.20, 111.63°)
OKLaboklab(31.19% -0.0312 0.0589)
OKLCHoklch(31.19% 0.067 117.9)
XYZxyz(2.4327, 3.1402, 0.6502)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3506 #0D0635
analogous
#352506 #2E3506 #173506
triadic
#2E3506 #062E35 #35062E
tetradic
#2E3506 #063525 #0D0635 #350617
square
#2E3506 #063525 #0D0635 #350617
split-complementary
#2E3506 #061735 #250635
monochromatic
#181B03 #181B03 #2E3506 #5E6C0C #8DA312

Accessibility & contrast

On white

12.90
#2E3506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3506
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3506#FFFFFF#000000##FFFFFF
##2E35061.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393200
Deuteranopia (green-blind)
#39320A
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3506;
/* rgb */ color: rgb(46, 53, 6);
/* oklch */ color: oklch(31.2% 0.067 117.9);
Tailwind
colors: {
  custom: {
    50: '#686c4a',
    500: '#2e3506',
    950: '#000000',
  },
}
SCSS
$custom: #2e3506;
$custom-light: #686c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3506",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 6
  },
  "hsl": {
    "h": 68.936,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31194,
    "c": 0.0667,
    "h": 117.9
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#2E3506
secondary
#2E2175
accent
#32F64F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3506

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

Preview Lab → · Contrast checker → · Palette generator →

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