#4E5318#4E5318

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

Color values

HEX#4E5318
RGBrgb(78, 83, 24)
HSLhsl(65, 55%, 21%)
HSVhsv(65, 71%, 33%)
CMYKcmyk(6%, 0%, 71.1%, 67.5%)
CIE-LABlab(33.72, -10.87, 32.54)
CIE-LCHlch(33.72, 34.31, 108.48°)
OKLaboklab(42.48% -0.0327 0.0736)
OKLCHoklch(42.48% 0.08 114)
XYZxyz(6.4002, 7.8723, 2.0463)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5318 #1D1853
analogous
#533A18 #4E5318 #305318
triadic
#4E5318 #184E53 #53184E
tetradic
#4E5318 #18533A #1D1853 #531830
square
#4E5318 #18533A #1D1853 #531830
split-complementary
#4E5318 #183053 #3A1853
monochromatic
#161807 #21240A #4E5318 #7B8226 #A7B233

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5318#FFFFFF#000000##FFFFFF
##4E53181.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)
#594F10
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#534E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5318;
/* rgb */ color: rgb(78, 83, 24);
/* oklch */ color: oklch(42.5% 0.080 114.0);
Tailwind
colors: {
  custom: {
    50: '#828358',
    500: '#4e5318',
    950: '#000000',
  },
}
SCSS
$custom: #4e5318;
$custom-light: #828358;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5318",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 65.085,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.08049,
    "h": 114
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#4E5318
secondary
#443D8A
accent
#49DE56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5318

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

Preview Lab → · Contrast checker → · Palette generator →

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