#4E5528#4E5528

#4E5528 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.067 H 116.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4E5528
RGBrgb(78, 85, 40)
HSLhsl(69, 36%, 25%)
HSVhsv(69, 53%, 33%)
CMYKcmyk(8.2%, 0%, 52.9%, 66.7%)
CIE-LABlab(34.54, -10.54, 25.12)
CIE-LCHlch(34.54, 27.24, 112.77°)
OKLaboklab(43.2% -0.0299 0.0598)
OKLCHoklch(43.2% 0.067 116.6)
XYZxyz(6.7735, 8.2700, 3.2465)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5528 #2F2855
analogous
#554628 #4E5528 #385528
triadic
#4E5528 #284E55 #55284E
tetradic
#4E5528 #285546 #2F2855 #552838
square
#4E5528 #285546 #2F2855 #552838
split-complementary
#4E5528 #283855 #462855
monochromatic
#13150A #282B14 #4E5528 #747F3C #9AA84F

Accessibility & contrast

On white

7.91
#4E5528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E5528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5528
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5528#FFFFFF#000000##FFFFFF
##4E55281.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#52514B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5528;
/* rgb */ color: rgb(78, 85, 40);
/* oklch */ color: oklch(43.2% 0.067 116.6);
Tailwind
colors: {
  custom: {
    50: '#818463',
    500: '#4e5528',
    950: '#000000',
  },
}
SCSS
$custom: #4e5528;
$custom-light: #818463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5528",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 40
  },
  "hsl": {
    "h": 69.333,
    "s": 36,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.06683,
    "h": 116.6
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#4E5528
secondary
#5A5188
accent
#5CCC6D
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5528

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

Preview Lab → · Contrast checker → · Palette generator →

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