#2E2B0F#2E2B0F

#2E2B0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.044 H 103.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#2E2B0F
RGBrgb(46, 43, 15)
HSLhsl(54, 51%, 12%)
HSVhsv(54, 67%, 18%)
CMYKcmyk(0%, 6.5%, 67.4%, 82%)
CIE-LABlab(17.19, -3.29, 18.28)
CIE-LCHlch(17.19, 18.57, 100.21°)
OKLaboklab(28.5% -0.0101 0.043)
OKLCHoklch(28.5% 0.044 103.2)
XYZxyz(2.0769, 2.3432, 0.7947)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B0F #0F122E
analogous
#2E1C0F #2E2B0F #222E0F
triadic
#2E2B0F #0F2E2B #2B0F2E
tetradic
#2E2B0F #0F2E1C #0F122E #2E0F22
square
#2E2B0F #0F2E1C #0F122E #2E0F22
split-complementary
#2E2B0F #0F222E #1C0F2E
monochromatic
#171608 #171608 #2E2B0F #5C561E #8A812D

Accessibility & contrast

On white

14.30
#2E2B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2E2B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B0F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B0F#FFFFFF#000000##FFFFFF
##2E2B0F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#322825
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2b0f;
/* rgb */ color: rgb(46, 43, 15);
/* oklch */ color: oklch(28.5% 0.044 103.2);
Tailwind
colors: {
  custom: {
    50: '#68644e',
    500: '#2e2b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b0f;
$custom-light: #68644e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b0f",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 54.194,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.04418,
    "h": 103.2
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#2E2B0F
secondary
#313668
accent
#5BDA4D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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