#2E3104#2E3104

#2E3104 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.063 H 113.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#2E3104
RGBrgb(46, 49, 4)
HSLhsl(64, 85%, 10%)
HSVhsv(64, 92%, 19%)
CMYKcmyk(6.1%, 0%, 91.8%, 80.8%)
CIE-LABlab(19.17, -8.08, 25.40)
CIE-LCHlch(19.17, 26.66, 107.64°)
OKLaboklab(30.04% -0.0252 0.0579)
OKLCHoklch(30.04% 0.063 113.5)
XYZxyz(2.2470, 2.7863, 0.5343)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3104 #070431
analogous
#311D04 #2E3104 #173104
triadic
#2E3104 #042E31 #31042E
tetradic
#2E3104 #04311D #070431 #310417
square
#2E3104 #04311D #070431 #310417
split-complementary
#2E3104 #041731 #1D0431
monochromatic
#1B1C02 #1B1C02 #2E3104 #636A09 #98A20D

Accessibility & contrast

On white

13.49
#2E3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E3104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3104
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3104#FFFFFF#000000##FFFFFF
##2E31041.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352F07
Tritanopia (blue-blind)
#322D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3104;
/* rgb */ color: rgb(46, 49, 4);
/* oklch */ color: oklch(30.0% 0.063 113.5);
Tailwind
colors: {
  custom: {
    50: '#686849',
    500: '#2e3104',
    950: '#000000',
  },
}
SCSS
$custom: #2e3104;
$custom-light: #686849;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3104",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 64,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.06314,
    "h": 113.5
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#2E3104
secondary
#231D73
accent
#2DFB3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3104

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

Preview Lab → · Contrast checker → · Palette generator →

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