#2E250A#2E250A

#2E250A is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.043 H 90.7°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#2E250A
RGBrgb(46, 37, 10)
HSLhsl(45, 64%, 11%)
HSVhsv(45, 78%, 18%)
CMYKcmyk(0%, 19.6%, 78.3%, 82%)
CIE-LABlab(15.09, 0.31, 17.99)
CIE-LCHlch(15.09, 17.99, 89.02°)
OKLaboklab(26.82% -0.0005 0.0435)
OKLCHoklch(26.82% 0.044 90.7)
XYZxyz(1.8432, 1.9260, 0.5618)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E250A #0A132E
analogous
#2E130A #2E250A #252E0A
triadic
#2E250A #0A2E25 #250A2E
tetradic
#2E250A #0A2E13 #0A132E #2E0A25
square
#2E250A #0A2E13 #0A132E #2E0A25
split-complementary
#2E250A #0A252E #130A2E
monochromatic
#191405 #191405 #2E250A #604D15 #937620

Accessibility & contrast

On white

15.16
#2E250A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E250A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E250A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E250A#FFFFFF#000000##FFFFFF
##2E250A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2407
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#32211F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e250a;
/* rgb */ color: rgb(46, 37, 10);
/* oklch */ color: oklch(26.8% 0.043 90.7);
Tailwind
colors: {
  custom: {
    50: '#685f4b',
    500: '#2e250a',
    950: '#000000',
  },
}
SCSS
$custom: #2e250a;
$custom-light: #685f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e250a",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 10
  },
  "hsl": {
    "h": 45,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26819,
    "c": 0.0435,
    "h": 90.7
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#2E250A
secondary
#29396B
accent
#6AE741
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2E250A

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

Preview Lab → · Contrast checker → · Palette generator →

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