#4E531A#4E531A

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

Color values

HEX#4E531A
RGBrgb(78, 83, 26)
HSLhsl(65, 52%, 21%)
HSVhsv(65, 69%, 33%)
CMYKcmyk(6%, 0%, 68.7%, 67.5%)
CIE-LABlab(33.73, -10.72, 31.61)
CIE-LCHlch(33.73, 33.38, 108.74°)
OKLaboklab(42.5% -0.032 0.0719)
OKLCHoklch(42.5% 0.079 114)
XYZxyz(6.4218, 7.8809, 2.1600)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E531A #1F1A53
analogous
#533C1A #4E531A #32531A
triadic
#4E531A #1A4E53 #531A4E
tetradic
#4E531A #1A533C #1F1A53 #531A32
square
#4E531A #1A533C #1F1A53 #531A32
split-complementary
#4E531A #1A3253 #3C1A53
monochromatic
#161707 #22240B #4E531A #7A8229 #A6B037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E531A#FFFFFF#000000##FFFFFF
##4E531A1.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)
#594F13
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#534E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e531a;
/* rgb */ color: rgb(78, 83, 26);
/* oklch */ color: oklch(42.5% 0.079 114.0);
Tailwind
colors: {
  custom: {
    50: '#81835a',
    500: '#4e531a',
    950: '#000000',
  },
}
SCSS
$custom: #4e531a;
$custom-light: #81835a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e531a",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 65.263,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.07873,
    "h": 114
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#4E531A
secondary
#464089
accent
#4CDC59
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4E531A

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

Preview Lab → · Contrast checker → · Palette generator →

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