#2E2A0F#2E2A0F

#2E2A0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.043 H 101.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2A0F
RGBrgb(46, 42, 15)
HSLhsl(52, 51%, 12%)
HSVhsv(52, 67%, 18%)
CMYKcmyk(0%, 8.7%, 67.4%, 82%)
CIE-LABlab(16.85, -2.62, 17.86)
CIE-LCHlch(16.85, 18.05, 98.36°)
OKLaboklab(28.23% -0.0082 0.0422)
OKLCHoklch(28.23% 0.043 101)
XYZxyz(2.0410, 2.2713, 0.7827)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A0F #0F132E
analogous
#2E1B0F #2E2A0F #232E0F
triadic
#2E2A0F #0F2E2A #2A0F2E
tetradic
#2E2A0F #0F2E1B #0F132E #2E0F23
square
#2E2A0F #0F2E1B #0F132E #2E0F23
split-complementary
#2E2A0F #0F232E #1B0F2E
monochromatic
#171508 #171508 #2E2A0F #5C541E #8A7E2D

Accessibility & contrast

On white

14.44
#2E2A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A0F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A0F#FFFFFF#000000##FFFFFF
##2E2A0F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290C
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#322724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2a0f;
/* rgb */ color: rgb(46, 42, 15);
/* oklch */ color: oklch(28.2% 0.043 101.0);
Tailwind
colors: {
  custom: {
    50: '#68634e',
    500: '#2e2a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a0f;
$custom-light: #68634e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a0f",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 52.258,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2823,
    "c": 0.04294,
    "h": 101
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#2E2A0F
secondary
#313868
accent
#60DA4D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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