#2E3308#2E3308

#2E3308 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.6% C 0.062 H 116.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3308
RGBrgb(46, 51, 8)
HSLhsl(67, 73%, 12%)
HSVhsv(67, 84%, 20%)
CMYKcmyk(9.8%, 0%, 84.3%, 80%)
CIE-LABlab(19.91, -9.02, 24.62)
CIE-LCHlch(19.91, 26.22, 110.12°)
OKLaboklab(30.65% -0.0272 0.0559)
OKLCHoklch(30.65% 0.062 116)
XYZxyz(2.3544, 2.9661, 0.6782)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3308 #0D0833
analogous
#332308 #2E3308 #193308
triadic
#2E3308 #082E33 #33082E
tetradic
#2E3308 #083323 #0D0833 #330819
square
#2E3308 #083323 #0D0833 #330819
split-complementary
#2E3308 #081933 #230833
monochromatic
#181A04 #181A04 #2E3308 #5E6810 #8D9D19

Accessibility & contrast

On white

13.18
#2E3308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E3308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3308
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3308#FFFFFF#000000##FFFFFF
##2E33081.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373003
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3308;
/* rgb */ color: rgb(46, 51, 8);
/* oklch */ color: oklch(30.6% 0.062 116.0);
Tailwind
colors: {
  custom: {
    50: '#686a4b',
    500: '#2e3308',
    950: '#000000',
  },
}
SCSS
$custom: #2e3308;
$custom-light: #686a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3308",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 66.977,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30645,
    "c": 0.06213,
    "h": 116
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#2E3308
secondary
#2E2572
accent
#38F04E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3308

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

Preview Lab → · Contrast checker → · Palette generator →

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