#4E580F#4E580F

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

Color values

HEX#4E580F
RGBrgb(78, 88, 15)
HSLhsl(68, 71%, 20%)
HSVhsv(68, 83%, 35%)
CMYKcmyk(11.4%, 0%, 83%, 65.5%)
CIE-LABlab(35.27, -14.26, 37.78)
CIE-LCHlch(35.27, 40.39, 110.67°)
OKLaboklab(43.71% -0.043 0.0829)
OKLCHoklch(43.71% 0.093 117.4)
XYZxyz(6.7180, 8.6337, 1.7644)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E580F #190F58
analogous
#583D0F #4E580F #2A580F
triadic
#4E580F #0F4E58 #580F4E
tetradic
#4E580F #0F583D #190F58 #580F2A
square
#4E580F #0F583D #190F58 #580F2A
split-complementary
#4E580F #0F2A58 #3D0F58
monochromatic
#171A04 #202406 #4E580F #7C8C18 #ABC121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E580F#FFFFFF#000000##FFFFFF
##4E580F1.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)
#5F5300
Deuteranopia (green-blind)
#5E5316
Tritanopia (blue-blind)
#53534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e580f;
/* rgb */ color: rgb(78, 88, 15);
/* oklch */ color: oklch(43.7% 0.093 117.4);
Tailwind
colors: {
  custom: {
    50: '#828754',
    500: '#4e580f',
    950: '#000000',
  },
}
SCSS
$custom: #4e580f;
$custom-light: #828754;
$custom-dark: #000000;
JSON
{
  "hex": "#4e580f",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 68.219,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.0934,
    "h": 117.4
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#4E580F
secondary
#3E3192
accent
#3AEE53
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E580F

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

Preview Lab → · Contrast checker → · Palette generator →

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