#E7D868#E7D868

#E7D868 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.134 H 101.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E7D868
RGBrgb(231, 216, 104)
HSLhsl(53, 73%, 66%)
HSVhsv(53, 55%, 91%)
CMYKcmyk(0%, 6.5%, 55%, 9.4%)
CIE-LABlab(85.56, -8.79, 56.18)
CIE-LCHlch(85.56, 56.87, 98.90°)
OKLaboklab(87.24% -0.0273 0.1311)
OKLCHoklch(87.24% 0.134 101.8)
XYZxyz(60.0116, 67.1023, 22.8849)
Luminance0.6710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D868 #6877E7
analogous
#E79868 #E7D868 #B7E768
triadic
#E7D868 #68E7D8 #D868E7
tetradic
#E7D868 #68E798 #6877E7 #E768B7
square
#E7D868 #68E798 #6877E7 #E768B7
split-complementary
#E7D868 #68B7E7 #9868E7
monochromatic
#B7A51D #DFCA33 #E7D868 #EFE69D #F8F3D2

Accessibility & contrast

On white

1.46
#E7D868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#E7D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D868
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D868#FFFFFF#000000##000000
##E7D8681.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d868;
/* rgb */ color: rgb(231, 216, 104);
/* oklch */ color: oklch(87.2% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#f1e396',
    500: '#e7d868',
    950: '#000000',
  },
}
SCSS
$custom: #e7d868;
$custom-light: #f1e396;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d868",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 52.913,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.13393,
    "h": 101.8
  },
  "luminance": 0.671
}

Semantic roles & 50–950 ramp

primary
#E7D868
secondary
#3C4AB7
accent
#28D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D868

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

Preview Lab → · Contrast checker → · Palette generator →

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