#4E5022#4E5022

#4E5022 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.067 H 111.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4E5022
RGBrgb(78, 80, 34)
HSLhsl(63, 40%, 22%)
HSVhsv(63, 58%, 31%)
CMYKcmyk(2.5%, 0%, 57.5%, 68.6%)
CIE-LABlab(32.86, -8.26, 26.47)
CIE-LCHlch(32.86, 27.73, 107.32°)
OKLaboklab(41.83% -0.0241 0.0621)
OKLCHoklch(41.83% 0.067 111.2)
XYZxyz(6.2994, 7.4726, 2.6236)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5022 #242250
analogous
#503B22 #4E5022 #375022
triadic
#4E5022 #224E50 #50224E
tetradic
#4E5022 #22503B #242250 #502237
square
#4E5022 #22503B #242250 #502237
split-complementary
#4E5022 #223750 #3B2250
monochromatic
#151509 #242510 #4E5022 #787B34 #A2A647

Accessibility & contrast

On white

8.42
#4E5022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E5022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5022
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5022#FFFFFF#000000##FFFFFF
##4E50221.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1E
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#534B46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5022;
/* rgb */ color: rgb(78, 80, 34);
/* oklch */ color: oklch(41.8% 0.067 111.2);
Tailwind
colors: {
  custom: {
    50: '#81815f',
    500: '#4e5022',
    950: '#000000',
  },
}
SCSS
$custom: #4e5022;
$custom-light: #81815f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5022",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 62.609,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.06661,
    "h": 111.2
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#4E5022
secondary
#4C4A84
accent
#58D05D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5022

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

Preview Lab → · Contrast checker → · Palette generator →

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