#4E5715#4E5715

#4E5715 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.088 H 117.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E5715
RGBrgb(78, 87, 21)
HSLhsl(68, 61%, 21%)
HSVhsv(68, 76%, 34%)
CMYKcmyk(10.3%, 0%, 75.9%, 65.9%)
CIE-LABlab(34.98, -13.36, 35.17)
CIE-LCHlch(34.98, 37.62, 110.80°)
OKLaboklab(43.49% -0.04 0.0785)
OKLCHoklch(43.49% 0.088 117)
XYZxyz(6.6856, 8.4903, 1.9959)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5715 #1E1557
analogous
#573F15 #4E5715 #2D5715
triadic
#4E5715 #154E57 #57154E
tetradic
#4E5715 #15573F #1E1557 #57152D
square
#4E5715 #15573F #1E1557 #57152D
split-complementary
#4E5715 #152D57 #3F1557
monochromatic
#161906 #222609 #4E5715 #7A8821 #A6BA2D

Accessibility & contrast

On white

7.78
#4E5715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E5715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5715
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5715#FFFFFF#000000##FFFFFF
##4E57151.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520A
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#53524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5715;
/* rgb */ color: rgb(78, 87, 21);
/* oklch */ color: oklch(43.5% 0.088 117.0);
Tailwind
colors: {
  custom: {
    50: '#828657',
    500: '#4e5715',
    950: '#000000',
  },
}
SCSS
$custom: #4e5715;
$custom-light: #828657;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5715",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 68.182,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.08812,
    "h": 117
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#4E5715
secondary
#45398F
accent
#44E459
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5715

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

Preview Lab → · Contrast checker → · Palette generator →

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