#E7D855#E7D855

#E7D855 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.150 H 102.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#E7D855
RGBrgb(231, 216, 85)
HSLhsl(54, 75%, 62%)
HSVhsv(54, 63%, 91%)
CMYKcmyk(0%, 6.5%, 63.2%, 9.4%)
CIE-LABlab(85.38, -10.10, 64.30)
CIE-LCHlch(85.38, 65.09, 98.93°)
OKLaboklab(87.05% -0.0331 0.146)
OKLCHoklch(87.05% 0.15 102.8)
XYZxyz(59.1529, 66.7589, 18.3624)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D855 #5564E7
analogous
#E78F55 #E7D855 #ADE755
triadic
#E7D855 #55E7D8 #D855E7
tetradic
#E7D855 #55E78F #5564E7 #E755AD
square
#E7D855 #55E78F #5564E7 #E755AD
split-complementary
#E7D855 #55ADE7 #8F55E7
monochromatic
#AA9B18 #DFCC20 #E7D855 #EFE48B #F6F1C0

Accessibility & contrast

On white

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

On black

14.35
#E7D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D855
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D855#FFFFFF#000000##000000
##E7D8551.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD145
Deuteranopia (green-blind)
#EFD85C
Tritanopia (blue-blind)
#F7CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d855;
/* rgb */ color: rgb(231, 216, 85);
/* oklch */ color: oklch(87.1% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#f2e38b',
    500: '#e7d855',
    950: '#000000',
  },
}
SCSS
$custom: #e7d855;
$custom-light: #f2e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d855",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 53.836,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87052,
    "c": 0.14975,
    "h": 102.8
  },
  "luminance": 0.66757
}

Semantic roles & 50–950 ramp

primary
#E7D855
secondary
#3541AB
accent
#23D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D855

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

Preview Lab → · Contrast checker → · Palette generator →

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