#4E5117#4E5117

#4E5117 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.079 H 112.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5117
RGBrgb(78, 81, 23)
HSLhsl(63, 56%, 20%)
HSVhsv(63, 72%, 32%)
CMYKcmyk(3.7%, 0%, 71.6%, 68.2%)
CIE-LABlab(33.06, -9.78, 32.33)
CIE-LCHlch(33.06, 33.78, 106.84°)
OKLaboklab(41.96% -0.0297 0.0729)
OKLCHoklch(41.96% 0.079 112.2)
XYZxyz(6.2391, 7.5666, 1.9423)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5117 #1A1751
analogous
#513717 #4E5117 #315117
triadic
#4E5117 #174E51 #51174E
tetradic
#4E5117 #175137 #1A1751 #511731
square
#4E5117 #175137 #1A1751 #511731
split-complementary
#4E5117 #173151 #371751
monochromatic
#171807 #202109 #4E5117 #7C8125 #AAB032

Accessibility & contrast

On white

8.36
#4E5117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E5117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5117
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5117#FFFFFF#000000##FFFFFF
##4E51171.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0F
Deuteranopia (green-blind)
#584E1B
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5117;
/* rgb */ color: rgb(78, 81, 23);
/* oklch */ color: oklch(42.0% 0.079 112.2);
Tailwind
colors: {
  custom: {
    50: '#828158',
    500: '#4e5117',
    950: '#000000',
  },
}
SCSS
$custom: #4e5117;
$custom-light: #828158;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5117",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 63.103,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.07877,
    "h": 112.2
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#4E5117
secondary
#403C88
accent
#49DF50
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5117

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

Preview Lab → · Contrast checker → · Palette generator →

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