#E7D955#E7D955

#E7D955 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.151 H 103.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E7D955
RGBrgb(231, 217, 85)
HSLhsl(54, 75%, 62%)
HSVhsv(54, 63%, 91%)
CMYKcmyk(0%, 6.1%, 63.2%, 9.4%)
CIE-LABlab(85.64, -10.60, 64.57)
CIE-LCHlch(85.64, 65.44, 99.32°)
OKLaboklab(87.26% -0.0345 0.1466)
OKLCHoklch(87.26% 0.151 103.3)
XYZxyz(59.4098, 67.2728, 18.4481)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D955 #5563E7
analogous
#E79055 #E7D955 #ACE755
triadic
#E7D955 #55E7D9 #D955E7
tetradic
#E7D955 #55E790 #5563E7 #E755AC
square
#E7D955 #55E790 #5563E7 #E755AC
split-complementary
#E7D955 #55ACE7 #9055E7
monochromatic
#AA9C18 #DFCD20 #E7D955 #EFE58B #F6F1C0

Accessibility & contrast

On white

1.45
#E7D955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E7D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D955
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D955#FFFFFF#000000##000000
##E7D9551.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD245
Deuteranopia (green-blind)
#F0D95D
Tritanopia (blue-blind)
#F7CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d955;
/* rgb */ color: rgb(231, 217, 85);
/* oklch */ color: oklch(87.3% 0.151 103.3);
Tailwind
colors: {
  custom: {
    50: '#f2e48b',
    500: '#e7d955',
    950: '#000000',
  },
}
SCSS
$custom: #e7d955;
$custom-light: #f2e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d955",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 54.247,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87258,
    "c": 0.15064,
    "h": 103.3
  },
  "luminance": 0.67271
}

Semantic roles & 50–950 ramp

primary
#E7D955
secondary
#3540AB
accent
#21D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D955

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

Preview Lab → · Contrast checker → · Palette generator →

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