#E7CE54#E7CE54

#E7CE54 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.0% C 0.142 H 97.7°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E7CE54
RGBrgb(231, 206, 84)
HSLhsl(50, 75%, 62%)
HSVhsv(50, 64%, 91%)
CMYKcmyk(0%, 10.8%, 63.6%, 9.4%)
CIE-LABlab(82.79, -5.10, 61.95)
CIE-LCHlch(82.79, 62.16, 94.71°)
OKLaboklab(85% -0.019 0.1409)
OKLCHoklch(85% 0.142 97.7)
XYZxyz(56.6290, 61.7743, 17.3266)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE54 #546DE7
analogous
#E78554 #E7CE54 #B7E754
triadic
#E7CE54 #54E7CE #CE54E7
tetradic
#E7CE54 #54E785 #546DE7 #E754B7
square
#E7CE54 #54E785 #546DE7 #E754B7
split-complementary
#E7CE54 #54B7E7 #8554E7
monochromatic
#A99018 #DFBE1F #E7CE54 #EFDD8A #F6EDBF

Accessibility & contrast

On white

1.57
#E7CE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#E7CE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CE54
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CE54#FFFFFF#000000##000000
##E7CE541.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C946
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#F8C0B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7ce54;
/* rgb */ color: rgb(231, 206, 84);
/* oklch */ color: oklch(85.0% 0.142 97.7);
Tailwind
colors: {
  custom: {
    50: '#f2dc89',
    500: '#e7ce54',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce54;
$custom-light: #f2dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce54",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 49.796,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84995,
    "c": 0.14219,
    "h": 97.7
  },
  "luminance": 0.61772
}

Semantic roles & 50–950 ramp

primary
#E7CE54
secondary
#3549AA
accent
#30D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CE54

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

Preview Lab → · Contrast checker → · Palette generator →

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