#E5C758#E5C758

#E5C758 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.134 H 94.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E5C758
RGBrgb(229, 199, 88)
HSLhsl(47, 73%, 62%)
HSVhsv(47, 62%, 90%)
CMYKcmyk(0%, 13.1%, 61.6%, 10.2%)
CIE-LABlab(80.86, -2.09, 58.06)
CIE-LCHlch(80.86, 58.09, 92.07°)
OKLaboklab(83.43% -0.0097 0.1333)
OKLCHoklch(83.43% 0.134 94.2)
XYZxyz(54.5004, 58.2122, 17.5960)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C758 #5876E5
analogous
#E58158 #E5C758 #BDE558
triadic
#E5C758 #58E5C7 #C758E5
tetradic
#E5C758 #58E581 #5876E5 #E558BD
square
#E5C758 #58E581 #5876E5 #E558BD
split-complementary
#E5C758 #58BDE5 #8158E5
monochromatic
#A88A1A #DDB523 #E5C758 #EDD98D #F5EBC2

Accessibility & contrast

On white

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

On black

12.64
#E5C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C758
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C758#FFFFFF#000000##000000
##E5C7581.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34C
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#F6B9AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c758;
/* rgb */ color: rgb(229, 199, 88);
/* oklch */ color: oklch(83.4% 0.134 94.2);
Tailwind
colors: {
  custom: {
    50: '#f0d78b',
    500: '#e5c758',
    950: '#000000',
  },
}
SCSS
$custom: #e5c758;
$custom-light: #f0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c758",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 47.234,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83432,
    "c": 0.1336,
    "h": 94.2
  },
  "luminance": 0.58209
}

Semantic roles & 50–950 ramp

primary
#E5C758
secondary
#3750AA
accent
#3AD510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C758

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

Preview Lab → · Contrast checker → · Palette generator →

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