#2E3508#2E3508

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

Color values

HEX#2E3508
RGBrgb(46, 53, 8)
HSLhsl(69, 74%, 12%)
HSVhsv(69, 85%, 21%)
CMYKcmyk(13.2%, 0%, 84.9%, 79.2%)
CIE-LABlab(20.61, -10.25, 25.42)
CIE-LCHlch(20.61, 27.40, 111.96°)
OKLaboklab(31.21% -0.0306 0.0573)
OKLCHoklch(31.21% 0.065 118.1)
XYZxyz(2.4437, 3.1446, 0.7079)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3508 #0F0835
analogous
#352608 #2E3508 #183508
triadic
#2E3508 #082E35 #35082E
tetradic
#2E3508 #083526 #0F0835 #350818
square
#2E3508 #083526 #0F0835 #350818
split-complementary
#2E3508 #081835 #260835
monochromatic
#171B04 #171B04 #2E3508 #5C6A10 #8A9F18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3508#FFFFFF#000000##FFFFFF
##2E35081.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)
#393202
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#31322C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3508;
/* rgb */ color: rgb(46, 53, 8);
/* oklch */ color: oklch(31.2% 0.065 118.1);
Tailwind
colors: {
  custom: {
    50: '#686c4b',
    500: '#2e3508',
    950: '#000000',
  },
}
SCSS
$custom: #2e3508;
$custom-light: #686c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3508",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 8
  },
  "hsl": {
    "h": 69.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.06496,
    "h": 118.1
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#2E3508
secondary
#312574
accent
#37F054
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3508

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

Preview Lab → · Contrast checker → · Palette generator →

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