#4E5817#4E5817

#4E5817 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.088 H 117.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E5817
RGBrgb(78, 88, 23)
HSLhsl(69, 59%, 22%)
HSVhsv(69, 74%, 35%)
CMYKcmyk(11.4%, 0%, 73.9%, 65.5%)
CIE-LABlab(35.32, -13.79, 34.64)
CIE-LCHlch(35.32, 37.29, 111.71°)
OKLaboklab(43.77% -0.0409 0.0778)
OKLCHoklch(43.77% 0.088 117.8)
XYZxyz(6.7864, 8.6611, 2.1247)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5817 #211758
analogous
#584217 #4E5817 #2E5817
triadic
#4E5817 #174E58 #58174E
tetradic
#4E5817 #175842 #211758 #58172E
square
#4E5817 #175842 #211758 #58172E
split-complementary
#4E5817 #172E58 #421758
monochromatic
#161806 #23270A #4E5817 #798924 #A4B930

Accessibility & contrast

On white

7.69
#4E5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5817
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5817#FFFFFF#000000##FFFFFF
##4E58171.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5817;
/* rgb */ color: rgb(78, 88, 23);
/* oklch */ color: oklch(43.8% 0.088 117.8);
Tailwind
colors: {
  custom: {
    50: '#828759',
    500: '#4e5817',
    950: '#000000',
  },
}
SCSS
$custom: #4e5817;
$custom-light: #828759;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5817",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 69.231,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43771,
    "c": 0.08791,
    "h": 117.8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#4E5817
secondary
#493C8F
accent
#46E25E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5817

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

Preview Lab → · Contrast checker → · Palette generator →

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