#E7CD55#E7CD55

#E7CD55 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.141 H 97.0°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#E7CD55
RGBrgb(231, 205, 85)
HSLhsl(49, 75%, 62%)
HSVhsv(49, 63%, 91%)
CMYKcmyk(0%, 11.3%, 63.2%, 9.4%)
CIE-LABlab(82.55, -4.53, 61.26)
CIE-LCHlch(82.55, 61.43, 94.23°)
OKLaboklab(84.8% -0.0172 0.1396)
OKLCHoklch(84.8% 0.141 97)
XYZxyz(56.4285, 61.3101, 17.4543)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD55 #556FE7
analogous
#E78455 #E7CD55 #B8E755
triadic
#E7CD55 #55E7CD #CD55E7
tetradic
#E7CD55 #55E784 #556FE7 #E755B8
square
#E7CD55 #55E784 #556FE7 #E755B8
split-complementary
#E7CD55 #55B8E7 #8455E7
monochromatic
#AA9018 #DFBD20 #E7CD55 #EFDD8B #F6EDC0

Accessibility & contrast

On white

1.58
#E7CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#E7CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD55
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD55#FFFFFF#000000##000000
##E7CD551.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C847
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#F8BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd55;
/* rgb */ color: rgb(231, 205, 85);
/* oklch */ color: oklch(84.8% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#f2db8a',
    500: '#e7cd55',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd55;
$custom-light: #f2db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd55",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 49.315,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84802,
    "c": 0.14066,
    "h": 97
  },
  "luminance": 0.61307
}

Semantic roles & 50–950 ramp

primary
#E7CD55
secondary
#354AAB
accent
#32D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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