#E7CD5B#E7CD5B

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

Color values

HEX#E7CD5B
RGBrgb(231, 205, 91)
HSLhsl(49, 74%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.3%, 60.6%, 9.4%)
CIE-LABlab(82.60, -4.14, 58.70)
CIE-LCHlch(82.60, 58.85, 94.04°)
OKLaboklab(84.86% -0.0154 0.135)
OKLCHoklch(84.86% 0.136 96.5)
XYZxyz(56.6770, 61.4095, 18.7633)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5B #5B75E7
analogous
#E7875B #E7CD5B #BBE75B
triadic
#E7CD5B #5BE7CD #CD5BE7
tetradic
#E7CD5B #5BE787 #5B75E7 #E75BBB
square
#E7CD5B #5BE787 #5B75E7 #E75BBB
split-complementary
#E7CD5B #5BBBE7 #875BE7
monochromatic
#AE9319 #DFBD26 #E7CD5B #EFDD90 #F7EEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CD5B#FFFFFF#000000##000000
##E7CD5B1.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)
#E0C94F
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd5b;
/* rgb */ color: rgb(231, 205, 91);
/* oklch */ color: oklch(84.9% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2dc8d',
    500: '#e7cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5b;
$custom-light: #f2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5b",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 48.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84861,
    "c": 0.13586,
    "h": 96.5
  },
  "luminance": 0.61407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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