#E7CD58#E7CD58

#E7CD58 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.8% C 0.138 H 96.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E7CD58
RGBrgb(231, 205, 88)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 62%, 91%)
CMYKcmyk(0%, 11.3%, 61.9%, 9.4%)
CIE-LABlab(82.57, -4.34, 59.99)
CIE-LCHlch(82.57, 60.15, 94.14°)
OKLaboklab(84.83% -0.0163 0.1373)
OKLCHoklch(84.83% 0.138 96.8)
XYZxyz(56.5502, 61.3588, 18.0954)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD58 #5872E7
analogous
#E78658 #E7CD58 #B9E758
triadic
#E7CD58 #58E7CD #CD58E7
tetradic
#E7CD58 #58E786 #5872E7 #E758B9
square
#E7CD58 #58E786 #5872E7 #E758B9
split-complementary
#E7CD58 #58B9E7 #8658E7
monochromatic
#AC9119 #DFBD22 #E7CD58 #EFDD8E #F6EDC3

Accessibility & contrast

On white

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

On black

13.27
#E7CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD58
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD58#FFFFFF#000000##000000
##E7CD581.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94B
Deuteranopia (green-blind)
#E7D15E
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd58;
/* rgb */ color: rgb(231, 205, 88);
/* oklch */ color: oklch(84.8% 0.138 96.8);
Tailwind
colors: {
  custom: {
    50: '#f2db8c',
    500: '#e7cd58',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd58;
$custom-light: #f2db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd58",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 49.091,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84831,
    "c": 0.13829,
    "h": 96.8
  },
  "luminance": 0.61356
}

Semantic roles & 50–950 ramp

primary
#E7CD58
secondary
#364CAD
accent
#33D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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