#E4C754#E4C754

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

Color values

HEX#E4C754
RGBrgb(228, 199, 84)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 63%, 89%)
CMYKcmyk(0%, 12.7%, 63.2%, 10.6%)
CIE-LABlab(80.73, -2.77, 59.65)
CIE-LCHlch(80.73, 59.71, 92.66°)
OKLaboklab(83.3% -0.0121 0.1361)
OKLCHoklch(83.3% 0.137 95.1)
XYZxyz(54.0210, 57.9836, 16.7323)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C754 #5471E4
analogous
#E47F54 #E4C754 #B9E454
triadic
#E4C754 #54E4C7 #C754E4
tetradic
#E4C754 #54E47F #5471E4 #E454B9
square
#E4C754 #54E47F #5471E4 #E454B9
split-complementary
#E4C754 #54B9E4 #7F54E4
monochromatic
#A4881A #D9B422 #E4C754 #ECD889 #F5EABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C754#FFFFFF#000000##000000
##E4C7541.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)
#DAC347
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#F5B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c754;
/* rgb */ color: rgb(228, 199, 84);
/* oklch */ color: oklch(83.3% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#f0d789',
    500: '#e4c754',
    950: '#000000',
  },
}
SCSS
$custom: #e4c754;
$custom-light: #f0d789;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c754",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 47.917,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83299,
    "c": 0.13665,
    "h": 95.1
  },
  "luminance": 0.57981
}

Semantic roles & 50–950 ramp

primary
#E4C754
secondary
#364DA6
accent
#38D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C754

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

Preview Lab → · Contrast checker → · Palette generator →

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