#2E260E#2E260E

#2E260E is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.040 H 91.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#2E260E
RGBrgb(46, 38, 14)
HSLhsl(45, 53%, 12%)
HSVhsv(45, 70%, 18%)
CMYKcmyk(0%, 17.4%, 69.6%, 82%)
CIE-LABlab(15.48, -0.02, 16.66)
CIE-LCHlch(15.48, 16.66, 90.06°)
OKLaboklab(27.14% -0.0008 0.0399)
OKLCHoklch(27.14% 0.04 91.2)
XYZxyz(1.8992, 1.9989, 0.7012)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E260E #0E162E
analogous
#2E160E #2E260E #262E0E
triadic
#2E260E #0E2E26 #260E2E
tetradic
#2E260E #0E2E16 #0E162E #2E0E26
square
#2E260E #0E2E16 #0E162E #2E0E26
split-complementary
#2E260E #0E262E #160E2E
monochromatic
#171307 #171307 #2E260E #5D4D1C #8C742B

Accessibility & contrast

On white

15.00
#2E260E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E260E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E260E
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E260E#FFFFFF#000000##FFFFFF
##2E260E1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250C
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#322321
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e260e;
/* rgb */ color: rgb(46, 38, 14);
/* oklch */ color: oklch(27.1% 0.040 91.2);
Tailwind
colors: {
  custom: {
    50: '#68604d',
    500: '#2e260e',
    950: '#000000',
  },
}
SCSS
$custom: #2e260e;
$custom-light: #68604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e260e",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 14
  },
  "hsl": {
    "h": 45,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27141,
    "c": 0.03992,
    "h": 91.2
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#2E260E
secondary
#303E68
accent
#6FDD4B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2E260E

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

Preview Lab → · Contrast checker → · Palette generator →

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