#4E5317#4E5317

#4E5317 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.081 H 113.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5317
RGBrgb(78, 83, 23)
HSLhsl(65, 57%, 21%)
HSVhsv(65, 72%, 33%)
CMYKcmyk(6%, 0%, 72.3%, 67.5%)
CIE-LABlab(33.71, -10.94, 33.00)
CIE-LCHlch(33.71, 34.77, 108.35°)
OKLaboklab(42.47% -0.033 0.0743)
OKLCHoklch(42.47% 0.081 113.9)
XYZxyz(6.3900, 7.8682, 1.9925)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5317 #1C1753
analogous
#533A17 #4E5317 #305317
triadic
#4E5317 #174E53 #53174E
tetradic
#4E5317 #17533A #1C1753 #531730
square
#4E5317 #17533A #1C1753 #531730
split-complementary
#4E5317 #173053 #3A1753
monochromatic
#171807 #21230A #4E5317 #7B8324 #A8B332

Accessibility & contrast

On white

8.16
#4E5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E5317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5317
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5317#FFFFFF#000000##FFFFFF
##4E53171.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#534E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5317;
/* rgb */ color: rgb(78, 83, 23);
/* oklch */ color: oklch(42.5% 0.081 113.9);
Tailwind
colors: {
  custom: {
    50: '#828358',
    500: '#4e5317',
    950: '#000000',
  },
}
SCSS
$custom: #4e5317;
$custom-light: #828358;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5317",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 65,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.08133,
    "h": 113.9
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#4E5317
secondary
#423C8A
accent
#48E055
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5317

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

Preview Lab → · Contrast checker → · Palette generator →

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