#4E5229#4E5229

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

Color values

HEX#4E5229
RGBrgb(78, 82, 41)
HSLhsl(66, 33%, 24%)
HSVhsv(66, 50%, 32%)
CMYKcmyk(4.9%, 0%, 50%, 67.8%)
CIE-LABlab(33.59, -8.67, 23.40)
CIE-LCHlch(33.59, 24.96, 110.34°)
OKLaboklab(42.45% -0.0245 0.0561)
OKLCHoklch(42.45% 0.061 113.6)
XYZxyz(6.5595, 7.8145, 3.2602)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5229 #2D2952
analogous
#524229 #4E5229 #3A5229
triadic
#4E5229 #294E52 #52294E
tetradic
#4E5229 #295242 #2D2952 #52293A
square
#4E5229 #295242 #2D2952 #52293A
split-complementary
#4E5229 #293A52 #422952
monochromatic
#13140A #272915 #4E5229 #757B3D #9CA452

Accessibility & contrast

On white

8.19
#4E5229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5229
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5229#FFFFFF#000000##FFFFFF
##4E52291.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F26
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#524E48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5229;
/* rgb */ color: rgb(78, 82, 41);
/* oklch */ color: oklch(42.4% 0.061 113.6);
Tailwind
colors: {
  custom: {
    50: '#808264',
    500: '#4e5229',
    950: '#000000',
  },
}
SCSS
$custom: #4e5229;
$custom-light: #808264;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5229",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 65.854,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.06119,
    "h": 113.6
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#4E5229
secondary
#575284
accent
#5EC969
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #4E5229

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

Preview Lab → · Contrast checker → · Palette generator →

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