#E4C756#E4C756

#E4C756 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.135 H 94.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#E4C756
RGBrgb(228, 199, 86)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.7%, 62.3%, 10.6%)
CIE-LABlab(80.75, -2.64, 58.79)
CIE-LCHlch(80.75, 58.85, 92.57°)
OKLaboklab(83.32% -0.0115 0.1346)
OKLCHoklch(83.32% 0.135 94.9)
XYZxyz(54.1005, 58.0154, 17.1507)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C756 #5673E4
analogous
#E48056 #E4C756 #BAE456
triadic
#E4C756 #56E4C7 #C756E4
tetradic
#E4C756 #56E480 #5673E4 #E456BA
square
#E4C756 #56E480 #5673E4 #E456BA
split-complementary
#E4C756 #56BAE4 #8056E4
monochromatic
#A5891A #DAB523 #E4C756 #ECD88B #F5EAC0

Accessibility & contrast

On white

1.67
#E4C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#E4C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C756
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C756#FFFFFF#000000##000000
##E4C7561.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#F5B9AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c756;
/* rgb */ color: rgb(228, 199, 86);
/* oklch */ color: oklch(83.3% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f0d78a',
    500: '#e4c756',
    950: '#000000',
  },
}
SCSS
$custom: #e4c756;
$custom-light: #f0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c756",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 47.746,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83318,
    "c": 0.13507,
    "h": 94.9
  },
  "luminance": 0.58013
}

Semantic roles & 50–950 ramp

primary
#E4C756
secondary
#374EA7
accent
#39D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C756

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

Preview Lab → · Contrast checker → · Palette generator →

#E4C756 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva