#4E5225#4E5225

#4E5225 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.066 H 113.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E5225
RGBrgb(78, 82, 37)
HSLhsl(65, 38%, 23%)
HSVhsv(65, 55%, 32%)
CMYKcmyk(4.9%, 0%, 54.9%, 67.8%)
CIE-LABlab(33.54, -9.13, 25.61)
CIE-LCHlch(33.54, 27.18, 109.62°)
OKLaboklab(42.39% -0.0262 0.0606)
OKLCHoklch(42.39% 0.066 113.4)
XYZxyz(6.4932, 7.7880, 2.9111)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5225 #292552
analogous
#523F25 #4E5225 #375225
triadic
#4E5225 #254E52 #52254E
tetradic
#4E5225 #25523F #292552 #522537
square
#4E5225 #25523F #292552 #522537
split-complementary
#4E5225 #253752 #3F2552
monochromatic
#14150A #262812 #4E5225 #767C38 #9EA64B

Accessibility & contrast

On white

8.21
#4E5225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E5225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5225
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5225#FFFFFF#000000##FFFFFF
##4E52251.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E21
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#534E48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5225;
/* rgb */ color: rgb(78, 82, 37);
/* oklch */ color: oklch(42.4% 0.066 113.4);
Tailwind
colors: {
  custom: {
    50: '#818261',
    500: '#4e5225',
    950: '#000000',
  },
}
SCSS
$custom: #4e5225;
$custom-light: #818261;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5225",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 37
  },
  "hsl": {
    "h": 65.333,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.06598,
    "h": 113.4
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#4E5225
secondary
#524D85
accent
#5ACE64
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5225

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

Preview Lab → · Contrast checker → · Palette generator →

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