#2E2907#2E2907

#2E2907 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.050 H 100.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2907
RGBrgb(46, 41, 7)
HSLhsl(52, 74%, 10%)
HSVhsv(52, 85%, 18%)
CMYKcmyk(0%, 10.9%, 84.8%, 82%)
CIE-LABlab(16.42, -2.65, 20.88)
CIE-LCHlch(16.42, 21.05, 97.24°)
OKLaboklab(27.85% -0.0095 0.0495)
OKLCHoklch(27.85% 0.05 100.8)
XYZxyz(1.9581, 2.1821, 0.5190)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2907 #070C2E
analogous
#2E1507 #2E2907 #1F2E07
triadic
#2E2907 #072E29 #29072E
tetradic
#2E2907 #072E15 #070C2E #2E071F
square
#2E2907 #072E15 #070C2E #2E071F
split-complementary
#2E2907 #071F2E #15072E
monochromatic
#1B1804 #1B1804 #2E2907 #63580F #988817

Accessibility & contrast

On white

14.62
#2E2907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2907
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2907#FFFFFF#000000##FFFFFF
##2E29071.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2F2A09
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2907;
/* rgb */ color: rgb(46, 41, 7);
/* oklch */ color: oklch(27.9% 0.050 100.8);
Tailwind
colors: {
  custom: {
    50: '#68624a',
    500: '#2e2907',
    950: '#000000',
  },
}
SCSS
$custom: #2e2907;
$custom-light: #68624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2907",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 52.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27854,
    "c": 0.05043,
    "h": 100.8
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#2E2907
secondary
#232D6E
accent
#4FF038
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2907

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

Preview Lab → · Contrast checker → · Palette generator →

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