#2E3107#2E3107

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

Color values

HEX#2E3107
RGBrgb(46, 49, 7)
HSLhsl(64, 75%, 11%)
HSVhsv(64, 86%, 19%)
CMYKcmyk(6.1%, 0%, 85.7%, 80.8%)
CIE-LABlab(19.19, -7.85, 24.21)
CIE-LCHlch(19.19, 25.46, 107.96°)
OKLaboklab(30.07% -0.0241 0.0553)
OKLCHoklch(30.07% 0.06 113.5)
XYZxyz(2.2634, 2.7929, 0.6208)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3107 #0A0731
analogous
#311F07 #2E3107 #193107
triadic
#2E3107 #072E31 #31072E
tetradic
#2E3107 #07311F #0A0731 #310719
square
#2E3107 #07311F #0A0731 #310719
split-complementary
#2E3107 #071931 #1F0731
monochromatic
#191B04 #191B04 #2E3107 #60670F #939C16

Accessibility & contrast

On white

13.47
#2E3107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3107
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3107#FFFFFF#000000##FFFFFF
##2E31071.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E02
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#322D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3107;
/* rgb */ color: rgb(46, 49, 7);
/* oklch */ color: oklch(30.1% 0.060 113.5);
Tailwind
colors: {
  custom: {
    50: '#68684a',
    500: '#2e3107',
    950: '#000000',
  },
}
SCSS
$custom: #2e3107;
$custom-light: #68684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3107",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 64.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30071,
    "c": 0.06028,
    "h": 113.5
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#2E3107
secondary
#292371
accent
#36F244
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3107

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

Preview Lab → · Contrast checker → · Palette generator →

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