#4E5023#4E5023

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

Color values

HEX#4E5023
RGBrgb(78, 80, 35)
HSLhsl(63, 39%, 23%)
HSVhsv(63, 56%, 31%)
CMYKcmyk(2.5%, 0%, 56.3%, 68.6%)
CIE-LABlab(32.87, -8.16, 25.94)
CIE-LCHlch(32.87, 27.19, 107.46°)
OKLaboklab(41.85% -0.0237 0.0611)
OKLCHoklch(41.85% 0.065 111.2)
XYZxyz(6.3141, 7.4785, 2.7007)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5023 #252350
analogous
#503C23 #4E5023 #375023
triadic
#4E5023 #234E50 #50234E
tetradic
#4E5023 #23503C #252350 #502337
square
#4E5023 #23503C #252350 #502337
split-complementary
#4E5023 #233750 #3C2350
monochromatic
#151509 #242510 #4E5023 #787B36 #A1A548

Accessibility & contrast

On white

8.41
#4E5023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E5023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5023
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5023#FFFFFF#000000##FFFFFF
##4E50231.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5023;
/* rgb */ color: rgb(78, 80, 35);
/* oklch */ color: oklch(41.8% 0.065 111.2);
Tailwind
colors: {
  custom: {
    50: '#81815f',
    500: '#4e5023',
    950: '#000000',
  },
}
SCSS
$custom: #4e5023;
$custom-light: #81815f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5023",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 35
  },
  "hsl": {
    "h": 62.667,
    "s": 39.13,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.06549,
    "h": 111.2
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#4E5023
secondary
#4E4B84
accent
#59CF5E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5023

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

Preview Lab → · Contrast checker → · Palette generator →

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