#E7CD5A#E7CD5A

#E7CD5A is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.137 H 96.6°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E7CD5A
RGBrgb(231, 205, 90)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.3%, 61%, 9.4%)
CIE-LABlab(82.59, -4.21, 59.13)
CIE-LCHlch(82.59, 59.28, 94.07°)
OKLaboklab(84.85% -0.0157 0.1358)
OKLCHoklch(84.85% 0.137 96.6)
XYZxyz(56.6342, 61.3924, 18.5377)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5A #5A74E7
analogous
#E7865A #E7CD5A #BBE75A
triadic
#E7CD5A #5AE7CD #CD5AE7
tetradic
#E7CD5A #5AE786 #5A74E7 #E75ABB
square
#E7CD5A #5AE786 #5A74E7 #E75ABB
split-complementary
#E7CD5A #5ABBE7 #865AE7
monochromatic
#AD9219 #DFBD25 #E7CD5A #EFDD8F #F7EDC5

Accessibility & contrast

On white

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

On black

13.28
#E7CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD5A
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD5A#FFFFFF#000000##000000
##E7CD5A1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd5a;
/* rgb */ color: rgb(231, 205, 90);
/* oklch */ color: oklch(84.9% 0.137 96.6);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e7cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5a;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5a",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 48.936,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84851,
    "c": 0.13668,
    "h": 96.6
  },
  "luminance": 0.6139
}

Semantic roles & 50–950 ramp

primary
#E7CD5A
secondary
#374DAE
accent
#34D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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