#4E5213#4E5213

#4E5213 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.083 H 113.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4E5213
RGBrgb(78, 82, 19)
HSLhsl(64, 62%, 20%)
HSVhsv(64, 77%, 32%)
CMYKcmyk(4.9%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.35, -10.63, 34.41)
CIE-LCHlch(33.35, 36.01, 107.16°)
OKLaboklab(42.18% -0.0326 0.0766)
OKLCHoklch(42.18% 0.083 113)
XYZxyz(6.2769, 7.7014, 1.7718)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5213 #171352
analogous
#523713 #4E5213 #2E5213
triadic
#4E5213 #134E52 #52134E
tetradic
#4E5213 #135237 #171352 #52132E
square
#4E5213 #135237 #171352 #52132E
split-complementary
#4E5213 #132E52 #371352
monochromatic
#181906 #1F2007 #4E5213 #7D841F #ADB52A

Accessibility & contrast

On white

8.27
#4E5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5213
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5213#FFFFFF#000000##FFFFFF
##4E52131.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#544D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5213;
/* rgb */ color: rgb(78, 82, 19);
/* oklch */ color: oklch(42.2% 0.083 113.0);
Tailwind
colors: {
  custom: {
    50: '#828256',
    500: '#4e5213',
    950: '#000000',
  },
}
SCSS
$custom: #4e5213;
$custom-light: #828256;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5213",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 63.81,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.08319,
    "h": 113
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#4E5213
secondary
#3C368A
accent
#42E54D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5213

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

Preview Lab → · Contrast checker → · Palette generator →

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