#4E4F17#4E4F17

#4E4F17 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.076 H 110.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E4F17
RGBrgb(78, 79, 23)
HSLhsl(61, 55%, 20%)
HSVhsv(61, 71%, 31%)
CMYKcmyk(1.3%, 0%, 70.9%, 69%)
CIE-LABlab(32.42, -8.61, 31.67)
CIE-LCHlch(32.42, 32.82, 105.21°)
OKLaboklab(41.45% -0.0264 0.0715)
OKLCHoklch(41.45% 0.076 110.3)
XYZxyz(6.0927, 7.2737, 1.8935)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F17 #18174F
analogous
#4F3417 #4E4F17 #324F17
triadic
#4E4F17 #174E4F #4F174E
tetradic
#4E4F17 #174F34 #18174F #4F1732
square
#4E4F17 #174F34 #18174F #4F1732
split-complementary
#4E4F17 #17324F #34174F
monochromatic
#171807 #1F2009 #4E4F17 #7D7E25 #ACAE33

Accessibility & contrast

On white

8.55
#4E4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F17
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F17#FFFFFF#000000##FFFFFF
##4E4F171.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#544A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4f17;
/* rgb */ color: rgb(78, 79, 23);
/* oklch */ color: oklch(41.4% 0.076 110.3);
Tailwind
colors: {
  custom: {
    50: '#828057',
    500: '#4e4f17',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f17;
$custom-light: #828057;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f17",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 61.071,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.07627,
    "h": 110.3
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#4E4F17
secondary
#3D3C86
accent
#4ADE4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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