#E0C752#E0C752

#E0C752 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.138 H 97.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#E0C752
RGBrgb(224, 199, 82)
HSLhsl(49, 70%, 60%)
HSVhsv(49, 63%, 88%)
CMYKcmyk(0%, 11.2%, 63.4%, 12.2%)
CIE-LABlab(80.35, -4.57, 60.00)
CIE-LCHlch(80.35, 60.17, 94.36°)
OKLaboklab(82.91% -0.0172 0.1367)
OKLCHoklch(82.91% 0.138 97.2)
XYZxyz(52.6892, 57.3058, 16.2668)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C752 #526BE0
analogous
#E08052 #E0C752 #B2E052
triadic
#E0C752 #52E0C7 #C752E0
tetradic
#E0C752 #52E080 #526BE0 #E052B2
square
#E0C752 #52E080 #526BE0 #E052B2
split-complementary
#E0C752 #52B2E0 #8052E0
monochromatic
#9C851C #D0B225 #E0C752 #E9D886 #F3E9BA

Accessibility & contrast

On white

1.69
#E0C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#E0C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C752
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C752#FFFFFF#000000##000000
##E0C7521.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C344
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#F1B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e0c752;
/* rgb */ color: rgb(224, 199, 82);
/* oklch */ color: oklch(82.9% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#edd787',
    500: '#e0c752',
    950: '#000000',
  },
}
SCSS
$custom: #e0c752;
$custom-light: #edd787;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c752",
  "rgb": {
    "r": 224,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 49.437,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.13776,
    "h": 97.2
  },
  "luminance": 0.57303
}

Semantic roles & 50–950 ramp

primary
#E0C752
secondary
#37499F
accent
#5BEC3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C752

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

Preview Lab → · Contrast checker → · Palette generator →

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