#E5C868#E5C868

#E5C868 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.8% C 0.120 H 92.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E5C868
RGBrgb(229, 200, 104)
HSLhsl(46, 71%, 65%)
HSVhsv(46, 55%, 90%)
CMYKcmyk(0%, 12.7%, 54.6%, 10.2%)
CIE-LABlab(81.27, -1.45, 51.15)
CIE-LCHlch(81.27, 51.17, 91.62°)
OKLaboklab(83.82% -0.006 0.1203)
OKLCHoklch(83.82% 0.12 92.9)
XYZxyz(55.4682, 58.9686, 21.5544)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C868 #6885E5
analogous
#E58968 #E5C868 #C3E568
triadic
#E5C868 #68E5C8 #C868E5
tetradic
#E5C868 #68E589 #6885E5 #E568C3
square
#E5C868 #68E589 #6885E5 #E568C3
split-complementary
#E5C868 #68C3E5 #8968E5
monochromatic
#B4911F #DCB534 #E5C868 #EEDB9C #F7EED0

Accessibility & contrast

On white

1.64
#E5C868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E5C868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C868
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C868#FFFFFF#000000##000000
##E5C8681.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#E1CE6C
Tritanopia (blue-blind)
#F5BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e5c868;
/* rgb */ color: rgb(229, 200, 104);
/* oklch */ color: oklch(83.8% 0.120 92.9);
Tailwind
colors: {
  custom: {
    50: '#f0d895',
    500: '#e5c868',
    950: '#000000',
  },
}
SCSS
$custom: #e5c868;
$custom-light: #f0d895;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c868",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 46.08,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83815,
    "c": 0.12042,
    "h": 92.9
  },
  "luminance": 0.58966
}

Semantic roles & 50–950 ramp

primary
#E5C868
secondary
#3D59B4
accent
#3FD313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C868

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

Preview Lab → · Contrast checker → · Palette generator →

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