#2E3307#2E3307

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

Color values

HEX#2E3307
RGBrgb(46, 51, 7)
HSLhsl(67, 76%, 11%)
HSVhsv(67, 86%, 20%)
CMYKcmyk(9.8%, 0%, 86.3%, 80%)
CIE-LABlab(19.90, -9.09, 25.02)
CIE-LCHlch(19.90, 26.62, 109.97°)
OKLaboklab(30.64% -0.0275 0.0567)
OKLCHoklch(30.64% 0.063 115.9)
XYZxyz(2.3490, 2.9639, 0.6493)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3307 #0C0733
analogous
#332207 #2E3307 #183307
triadic
#2E3307 #072E33 #33072E
tetradic
#2E3307 #073322 #0C0733 #330718
square
#2E3307 #073322 #0C0733 #330718
split-complementary
#2E3307 #071833 #220733
monochromatic
#181B04 #181B04 #2E3307 #5F690E #8F9F16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3307#FFFFFF#000000##FFFFFF
##2E33071.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)
#373002
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#322F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3307;
/* rgb */ color: rgb(46, 51, 7);
/* oklch */ color: oklch(30.6% 0.063 115.9);
Tailwind
colors: {
  custom: {
    50: '#686a4b',
    500: '#2e3307',
    950: '#000000',
  },
}
SCSS
$custom: #2e3307;
$custom-light: #686a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3307",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 66.818,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.06302,
    "h": 115.9
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#2E3307
secondary
#2C2373
accent
#35F24B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3307

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

Preview Lab → · Contrast checker → · Palette generator →

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