#E7CD5D#E7CD5D

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

Color values

HEX#E7CD5D
RGBrgb(231, 205, 93)
HSLhsl(49, 74%, 64%)
HSVhsv(49, 60%, 91%)
CMYKcmyk(0%, 11.3%, 59.7%, 9.4%)
CIE-LABlab(82.62, -4.01, 57.83)
CIE-LCHlch(82.62, 57.97, 93.97°)
OKLaboklab(84.88% -0.0148 0.1334)
OKLCHoklch(84.88% 0.134 96.3)
XYZxyz(56.7645, 61.4445, 19.2238)
Luminance0.6144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5D #5D77E7
analogous
#E7885D #E7CD5D #BCE75D
triadic
#E7CD5D #5DE7CD #CD5DE7
tetradic
#E7CD5D #5DE788 #5D77E7 #E75DBC
square
#E7CD5D #5DE788 #5D77E7 #E75DBC
split-complementary
#E7CD5D #5DBCE7 #885DE7
monochromatic
#B0931A #DFBD28 #E7CD5D #EFDD92 #F7EEC8

Accessibility & contrast

On white

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

On black

13.29
#E7CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD5D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD5D#FFFFFF#000000##000000
##E7CD5D1.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cd5d;
/* rgb */ color: rgb(231, 205, 93);
/* oklch */ color: oklch(84.9% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#f2dc8f',
    500: '#e7cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5d;
$custom-light: #f2dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5d",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 48.696,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84882,
    "c": 0.1342,
    "h": 96.3
  },
  "luminance": 0.61442
}

Semantic roles & 50–950 ramp

primary
#E7CD5D
secondary
#384FB0
accent
#35D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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