#E5C752#E5C752

#E5C752 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.138 H 94.8°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#E5C752
RGBrgb(229, 199, 82)
HSLhsl(48, 74%, 61%)
HSVhsv(48, 64%, 90%)
CMYKcmyk(0%, 13.1%, 64.2%, 10.2%)
CIE-LABlab(80.80, -2.47, 60.62)
CIE-LCHlch(80.80, 60.67, 92.34°)
OKLaboklab(83.37% -0.0115 0.1379)
OKLCHoklch(83.37% 0.138 94.8)
XYZxyz(54.2620, 58.1168, 16.3405)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C752 #5270E5
analogous
#E57D52 #E5C752 #B9E552
triadic
#E5C752 #52E5C7 #C752E5
tetradic
#E5C752 #52E57D #5270E5 #E552B9
square
#E5C752 #52E57D #5270E5 #E552B9
split-complementary
#E5C752 #52B9E5 #7D52E5
monochromatic
#A48819 #D9B421 #E5C752 #EDD887 #F5E9BC

Accessibility & contrast

On white

1.66
#E5C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#E5C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C752
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C752#FFFFFF#000000##000000
##E5C7521.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#F6B9AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c752;
/* rgb */ color: rgb(229, 199, 82);
/* oklch */ color: oklch(83.4% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#f1d788',
    500: '#e5c752',
    950: '#000000',
  },
}
SCSS
$custom: #e5c752;
$custom-light: #f1d788;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c752",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 47.755,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83373,
    "c": 0.13833,
    "h": 94.8
  },
  "luminance": 0.58114
}

Semantic roles & 50–950 ramp

primary
#E5C752
secondary
#354CA6
accent
#38D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C752

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

Preview Lab → · Contrast checker → · Palette generator →

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