#4E531B#4E531B

#4E531B is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.078 H 114.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4E531B
RGBrgb(78, 83, 27)
HSLhsl(65, 51%, 22%)
HSVhsv(65, 67%, 33%)
CMYKcmyk(6%, 0%, 67.5%, 67.5%)
CIE-LABlab(33.74, -10.65, 31.13)
CIE-LCHlch(33.74, 32.90, 108.88°)
OKLaboklab(42.52% -0.0317 0.0711)
OKLCHoklch(42.52% 0.078 114)
XYZxyz(6.4331, 7.8855, 2.2199)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E531B #201B53
analogous
#533C1B #4E531B #32531B
triadic
#4E531B #1B4E53 #531B4E
tetradic
#4E531B #1B533C #201B53 #531B32
square
#4E531B #1B533C #201B53 #531B32
split-complementary
#4E531B #1B3253 #3C1B53
monochromatic
#161708 #23250C #4E531B #79812A #A5AF39

Accessibility & contrast

On white

8.15
#4E531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E531B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E531B#FFFFFF#000000##FFFFFF
##4E531B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#534E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e531b;
/* rgb */ color: rgb(78, 83, 27);
/* oklch */ color: oklch(42.5% 0.078 114.0);
Tailwind
colors: {
  custom: {
    50: '#81835a',
    500: '#4e531b',
    950: '#000000',
  },
}
SCSS
$custom: #4e531b;
$custom-light: #81835a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e531b",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 65.357,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.07782,
    "h": 114
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#4E531B
secondary
#474189
accent
#4DDA5A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E531B

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

Preview Lab → · Contrast checker → · Palette generator →

#4E531B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva