#E7CD5E#E7CD5E

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

Color values

HEX#E7CD5E
RGBrgb(231, 205, 94)
HSLhsl(49, 74%, 64%)
HSVhsv(49, 59%, 91%)
CMYKcmyk(0%, 11.3%, 59.3%, 9.4%)
CIE-LABlab(82.63, -3.94, 57.39)
CIE-LCHlch(82.63, 57.53, 93.93°)
OKLaboklab(84.89% -0.0145 0.1326)
OKLCHoklch(84.89% 0.133 96.2)
XYZxyz(56.8090, 61.4623, 19.4586)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5E #5E78E7
analogous
#E7885E #E7CD5E #BCE75E
triadic
#E7CD5E #5EE7CD #CD5EE7
tetradic
#E7CD5E #5EE788 #5E78E7 #E75EBC
square
#E7CD5E #5EE788 #5E78E7 #E75EBC
split-complementary
#E7CD5E #5EBCE7 #885EE7
monochromatic
#B0941A #DFBC29 #E7CD5E #EFDE93 #F7EEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CD5E#FFFFFF#000000##000000
##E7CD5E1.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)
#DFC952
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#F8BFB5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd5e;
/* rgb */ color: rgb(231, 205, 94);
/* oklch */ color: oklch(84.9% 0.133 96.2);
Tailwind
colors: {
  custom: {
    50: '#f2dc8f',
    500: '#e7cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5e;
$custom-light: #f2dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5e",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 48.613,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84892,
    "c": 0.13335,
    "h": 96.2
  },
  "luminance": 0.6146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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