#E7C752#E7C752

#E7C752 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.6% C 0.139 H 93.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E7C752
RGBrgb(231, 199, 82)
HSLhsl(47, 76%, 61%)
HSVhsv(47, 65%, 91%)
CMYKcmyk(0%, 13.9%, 64.5%, 9.4%)
CIE-LABlab(80.99, -1.63, 60.87)
CIE-LCHlch(80.99, 60.89, 91.54°)
OKLaboklab(83.56% -0.0092 0.1383)
OKLCHoklch(83.56% 0.139 93.8)
XYZxyz(54.9040, 58.4479, 16.3706)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C752 #5272E7
analogous
#E77D52 #E7C752 #BDE752
triadic
#E7C752 #52E7C7 #C752E7
tetradic
#E7C752 #52E77D #5272E7 #E752BD
square
#E7C752 #52E77D #5272E7 #E752BD
split-complementary
#E7C752 #52BDE7 #7D52E7
monochromatic
#A78817 #DDB41F #E7C752 #EED888 #F6EABD

Accessibility & contrast

On white

1.65
#E7C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#E7C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C752
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C752#FFFFFF#000000##000000
##E7C7521.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#F9B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c752;
/* rgb */ color: rgb(231, 199, 82);
/* oklch */ color: oklch(83.6% 0.139 93.8);
Tailwind
colors: {
  custom: {
    50: '#f2d788',
    500: '#e7c752',
    950: '#000000',
  },
}
SCSS
$custom: #e7c752;
$custom-light: #f2d788;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c752",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 47.114,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83561,
    "c": 0.13864,
    "h": 93.8
  },
  "luminance": 0.58445
}

Semantic roles & 50–950 ramp

primary
#E7C752
secondary
#344DA9
accent
#39D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C752

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

Preview Lab → · Contrast checker → · Palette generator →

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