#4E5618#4E5618

#4E5618 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.084 H 116.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E5618
RGBrgb(78, 86, 24)
HSLhsl(68, 56%, 22%)
HSVhsv(68, 72%, 34%)
CMYKcmyk(9.3%, 0%, 72.1%, 66.3%)
CIE-LABlab(34.68, -12.59, 33.54)
CIE-LCHlch(34.68, 35.83, 110.58°)
OKLaboklab(43.26% -0.0375 0.0757)
OKLCHoklch(43.26% 0.084 116.4)
XYZxyz(6.6347, 8.3413, 2.1245)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5618 #201856
analogous
#563F18 #4E5618 #2F5618
triadic
#4E5618 #184E56 #56184E
tetradic
#4E5618 #18563F #201856 #56182F
square
#4E5618 #18563F #201856 #56182F
split-complementary
#4E5618 #182F56 #3F1856
monochromatic
#161807 #23260B #4E5618 #798625 #A5B633

Accessibility & contrast

On white

7.87
#4E5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5618
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5618#FFFFFF#000000##FFFFFF
##4E56181.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#535149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5618;
/* rgb */ color: rgb(78, 86, 24);
/* oklch */ color: oklch(43.3% 0.084 116.4);
Tailwind
colors: {
  custom: {
    50: '#828559',
    500: '#4e5618',
    950: '#000000',
  },
}
SCSS
$custom: #4e5618;
$custom-light: #828559;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5618",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 67.742,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.08444,
    "h": 116.4
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#4E5618
secondary
#473D8D
accent
#48E05C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5618

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

Preview Lab → · Contrast checker → · Palette generator →

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