#4E531E#4E531E

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

Color values

HEX#4E531E
RGBrgb(78, 83, 30)
HSLhsl(66, 47%, 22%)
HSVhsv(66, 64%, 33%)
CMYKcmyk(6%, 0%, 63.9%, 67.5%)
CIE-LABlab(33.77, -10.39, 29.65)
CIE-LCHlch(33.77, 31.42, 109.32°)
OKLaboklab(42.55% -0.0306 0.0684)
OKLCHoklch(42.55% 0.075 114.1)
XYZxyz(6.4696, 7.9001, 2.4121)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E531E #231E53
analogous
#533E1E #4E531E #34531E
triadic
#4E531E #1E4E53 #531E4E
tetradic
#4E531E #1E533E #231E53 #531E34
square
#4E531E #1E533E #231E53 #531E34
split-complementary
#4E531E #1E3453 #3E1E53
monochromatic
#151608 #24260E #4E531E #78802E #A2AD3E

Accessibility & contrast

On white

8.14
#4E531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E531E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E531E#FFFFFF#000000##FFFFFF
##4E531E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#534E48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e531e;
/* rgb */ color: rgb(78, 83, 30);
/* oklch */ color: oklch(42.5% 0.075 114.1);
Tailwind
colors: {
  custom: {
    50: '#81835c',
    500: '#4e531e',
    950: '#000000',
  },
}
SCSS
$custom: #4e531e;
$custom-light: #81835c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e531e",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 65.66,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.07492,
    "h": 114.1
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#4E531E
secondary
#4B4588
accent
#51D75E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E531E

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

Preview Lab → · Contrast checker → · Palette generator →

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