#4E5810#4E5810

#4E5810 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.093 H 117.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E5810
RGBrgb(78, 88, 16)
HSLhsl(68, 69%, 20%)
HSVhsv(68, 82%, 35%)
CMYKcmyk(11.4%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.27, -14.21, 37.43)
CIE-LCHlch(35.27, 40.03, 110.79°)
OKLaboklab(43.72% -0.0428 0.0823)
OKLCHoklch(43.72% 0.093 117.5)
XYZxyz(6.7253, 8.6366, 1.8029)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5810 #1A1058
analogous
#583E10 #4E5810 #2A5810
triadic
#4E5810 #104E58 #58104E
tetradic
#4E5810 #10583E #1A1058 #58102A
square
#4E5810 #10583E #1A1058 #58102A
split-complementary
#4E5810 #102A58 #3E1058
monochromatic
#171A05 #202407 #4E5810 #7C8C19 #AAC023

Accessibility & contrast

On white

7.70
#4E5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5810
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5810#FFFFFF#000000##FFFFFF
##4E58101.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#5E5317
Tritanopia (blue-blind)
#53534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5810;
/* rgb */ color: rgb(78, 88, 16);
/* oklch */ color: oklch(43.7% 0.093 117.5);
Tailwind
colors: {
  custom: {
    50: '#828755',
    500: '#4e5810',
    950: '#000000',
  },
}
SCSS
$custom: #4e5810;
$custom-light: #828755;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5810",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 68.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.0928,
    "h": 117.5
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#4E5810
secondary
#403291
accent
#3CEC54
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5810

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

Preview Lab → · Contrast checker → · Palette generator →

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