#E7CD5C#E7CD5C

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

Color values

HEX#E7CD5C
RGBrgb(231, 205, 92)
HSLhsl(49, 74%, 63%)
HSVhsv(49, 60%, 91%)
CMYKcmyk(0%, 11.3%, 60.2%, 9.4%)
CIE-LABlab(82.61, -4.08, 58.27)
CIE-LCHlch(82.61, 58.41, 94.00°)
OKLaboklab(84.87% -0.0151 0.1342)
OKLCHoklch(84.87% 0.135 96.4)
XYZxyz(56.7205, 61.4269, 18.9920)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5C #5C76E7
analogous
#E7875C #E7CD5C #BBE75C
triadic
#E7CD5C #5CE7CD #CD5CE7
tetradic
#E7CD5C #5CE787 #5C76E7 #E75CBB
square
#E7CD5C #5CE787 #5C76E7 #E75CBB
split-complementary
#E7CD5C #5CBBE7 #875CE7
monochromatic
#AF931A #DFBD27 #E7CD5C #EFDD91 #F7EEC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CD5C#FFFFFF#000000##000000
##E7CD5C1.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)
#E0C950
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd5c;
/* rgb */ color: rgb(231, 205, 92);
/* oklch */ color: oklch(84.9% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#f2dc8e',
    500: '#e7cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5c;
$custom-light: #f2dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5c",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 48.777,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84871,
    "c": 0.13503,
    "h": 96.4
  },
  "luminance": 0.61424
}

Semantic roles & 50–950 ramp

primary
#E7CD5C
secondary
#374EB0
accent
#34D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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