#4E5423#4E5423

#4E5423 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.071 H 115.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E5423
RGBrgb(78, 84, 35)
HSLhsl(67, 41%, 23%)
HSVhsv(67, 58%, 33%)
CMYKcmyk(7.1%, 0%, 58.3%, 67.1%)
CIE-LABlab(34.15, -10.50, 27.43)
CIE-LCHlch(34.15, 29.37, 110.95°)
OKLaboklab(42.87% -0.0303 0.0643)
OKLCHoklch(42.87% 0.071 115.3)
XYZxyz(6.6157, 8.0818, 2.8012)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5423 #292354
analogous
#544123 #4E5423 #355423
triadic
#4E5423 #234E54 #54234E
tetradic
#4E5423 #235441 #292354 #542335
square
#4E5423 #235441 #292354 #542335
split-complementary
#4E5423 #233554 #412354
monochromatic
#141609 #262911 #4E5423 #767F35 #9EAA47

Accessibility & contrast

On white

8.03
#4E5423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E5423 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5423
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5423#FFFFFF#000000##FFFFFF
##4E54231.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501E
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#534F49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5423;
/* rgb */ color: rgb(78, 84, 35);
/* oklch */ color: oklch(42.9% 0.071 115.3);
Tailwind
colors: {
  custom: {
    50: '#818460',
    500: '#4e5423',
    950: '#000000',
  },
}
SCSS
$custom: #4e5423;
$custom-light: #818460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5423",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 35
  },
  "hsl": {
    "h": 67.347,
    "s": 41.176,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.07108,
    "h": 115.3
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#4E5423
secondary
#524B88
accent
#57D166
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5423

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

Preview Lab → · Contrast checker → · Palette generator →

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