#4E5422#4E5422

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

Color values

HEX#4E5422
RGBrgb(78, 84, 34)
HSLhsl(67, 42%, 23%)
HSVhsv(67, 60%, 33%)
CMYKcmyk(7.1%, 0%, 59.5%, 67.1%)
CIE-LABlab(34.14, -10.60, 27.95)
CIE-LCHlch(34.14, 29.90, 110.76°)
OKLaboklab(42.86% -0.0307 0.0653)
OKLCHoklch(42.86% 0.072 115.2)
XYZxyz(6.6011, 8.0759, 2.7241)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5422 #282254
analogous
#544122 #4E5422 #355422
triadic
#4E5422 #224E54 #54224E
tetradic
#4E5422 #225441 #282254 #542235
square
#4E5422 #225441 #282254 #542235
split-complementary
#4E5422 #223554 #412254
monochromatic
#141609 #262810 #4E5422 #768034 #9FAB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5422#FFFFFF#000000##FFFFFF
##4E54221.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)
#5A501D
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#534F49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5422;
/* rgb */ color: rgb(78, 84, 34);
/* oklch */ color: oklch(42.9% 0.072 115.2);
Tailwind
colors: {
  custom: {
    50: '#81845f',
    500: '#4e5422',
    950: '#000000',
  },
}
SCSS
$custom: #4e5422;
$custom-light: #81845f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5422",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 34
  },
  "hsl": {
    "h": 67.2,
    "s": 42.373,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.07216,
    "h": 115.2
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#4E5422
secondary
#514A88
accent
#56D265
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5422

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

Preview Lab → · Contrast checker → · Palette generator →

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