#E5C754#E5C754

#E5C754 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.137 H 94.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#E5C754
RGBrgb(229, 199, 84)
HSLhsl(48, 74%, 61%)
HSVhsv(48, 63%, 90%)
CMYKcmyk(0%, 13.1%, 63.3%, 10.2%)
CIE-LABlab(80.82, -2.35, 59.77)
CIE-LCHlch(80.82, 59.82, 92.25°)
OKLaboklab(83.39% -0.0109 0.1364)
OKLCHoklch(83.39% 0.137 94.6)
XYZxyz(54.3393, 58.1477, 16.7472)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C754 #5472E5
analogous
#E57F54 #E5C754 #BBE554
triadic
#E5C754 #54E5C7 #C754E5
tetradic
#E5C754 #54E57F #5472E5 #E554BB
square
#E5C754 #54E57F #5472E5 #E554BB
split-complementary
#E5C754 #54BBE5 #7F54E5
monochromatic
#A58819 #DBB421 #E5C754 #EDD889 #F5EABE

Accessibility & contrast

On white

1.66
#E5C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#E5C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C754
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C754#FFFFFF#000000##000000
##E5C7541.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#F6B9AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c754;
/* rgb */ color: rgb(229, 199, 84);
/* oklch */ color: oklch(83.4% 0.137 94.6);
Tailwind
colors: {
  custom: {
    50: '#f1d789',
    500: '#e5c754',
    950: '#000000',
  },
}
SCSS
$custom: #e5c754;
$custom-light: #f1d789;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c754",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 47.586,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83392,
    "c": 0.13679,
    "h": 94.6
  },
  "luminance": 0.58145
}

Semantic roles & 50–950 ramp

primary
#E5C754
secondary
#364DA8
accent
#39D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C754

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

Preview Lab → · Contrast checker → · Palette generator →

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