#2E2A07#2E2A07

#2E2A07 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.052 H 102.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2A07
RGBrgb(46, 42, 7)
HSLhsl(54, 74%, 10%)
HSVhsv(54, 85%, 18%)
CMYKcmyk(0%, 8.7%, 84.8%, 82%)
CIE-LABlab(16.76, -3.32, 21.30)
CIE-LCHlch(16.76, 21.56, 98.86°)
OKLaboklab(28.13% -0.0114 0.0503)
OKLCHoklch(28.13% 0.052 102.7)
XYZxyz(1.9931, 2.2522, 0.5307)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A07 #070B2E
analogous
#2E1607 #2E2A07 #1E2E07
triadic
#2E2A07 #072E2A #2A072E
tetradic
#2E2A07 #072E16 #070B2E #2E071E
square
#2E2A07 #072E16 #070B2E #2E071E
split-complementary
#2E2A07 #071E2E #16072E
monochromatic
#1B1804 #1B1804 #2E2A07 #635A0F #988B17

Accessibility & contrast

On white

14.48
#2E2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A07
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A07#FFFFFF#000000##FFFFFF
##2E2A071.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2803
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#322623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2a07;
/* rgb */ color: rgb(46, 42, 7);
/* oklch */ color: oklch(28.1% 0.052 102.7);
Tailwind
colors: {
  custom: {
    50: '#68634a',
    500: '#2e2a07',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a07;
$custom-light: #68634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a07",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 53.846,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28127,
    "c": 0.05152,
    "h": 102.7
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#2E2A07
secondary
#232B6E
accent
#4AF038
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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