#E7CE52#E7CE52

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

Color values

HEX#E7CE52
RGBrgb(231, 206, 82)
HSLhsl(50, 76%, 61%)
HSVhsv(50, 65%, 91%)
CMYKcmyk(0%, 10.8%, 64.5%, 9.4%)
CIE-LABlab(82.78, -5.22, 62.78)
CIE-LCHlch(82.78, 63.00, 94.76°)
OKLaboklab(84.98% -0.0195 0.1424)
OKLCHoklch(84.98% 0.144 97.8)
XYZxyz(56.5518, 61.7434, 16.9199)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE52 #526BE7
analogous
#E78452 #E7CE52 #B6E752
triadic
#E7CE52 #52E7CE #CE52E7
tetradic
#E7CE52 #52E784 #526BE7 #E752B6
square
#E7CE52 #52E784 #526BE7 #E752B6
split-complementary
#E7CE52 #52B6E7 #8452E7
monochromatic
#A78F17 #DDBD1F #E7CE52 #EEDD88 #F6ECBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CE52#FFFFFF#000000##000000
##E7CE521.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)
#E1C943
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F8C0B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7ce52;
/* rgb */ color: rgb(231, 206, 82);
/* oklch */ color: oklch(85.0% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#f2dc88',
    500: '#e7ce52',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce52;
$custom-light: #f2dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce52",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 49.933,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84977,
    "c": 0.14371,
    "h": 97.8
  },
  "luminance": 0.61741
}

Semantic roles & 50–950 ramp

primary
#E7CE52
secondary
#3448A9
accent
#30D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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