#E7C552#E7C552

#E7C552 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.2% C 0.137 H 92.6°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#E7C552
RGBrgb(231, 197, 82)
HSLhsl(46, 76%, 61%)
HSVhsv(46, 65%, 91%)
CMYKcmyk(0%, 14.7%, 64.5%, 9.4%)
CIE-LABlab(80.48, -0.60, 60.33)
CIE-LCHlch(80.48, 60.33, 90.57°)
OKLaboklab(83.16% -0.0063 0.1372)
OKLCHoklch(83.16% 0.137 92.6)
XYZxyz(54.4469, 57.5336, 16.2183)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C552 #5274E7
analogous
#E77B52 #E7C552 #BFE752
triadic
#E7C552 #52E7C5 #C552E7
tetradic
#E7C552 #52E77B #5274E7 #E752BF
square
#E7C552 #52E77B #5274E7 #E752BF
split-complementary
#E7C552 #52BFE7 #7B52E7
monochromatic
#A78617 #DDB21F #E7C552 #EED788 #F6E9BD

Accessibility & contrast

On white

1.68
#E7C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#E7C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C552
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C552#FFFFFF#000000##000000
##E7C5521.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C245
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#F9B6AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c552;
/* rgb */ color: rgb(231, 197, 82);
/* oklch */ color: oklch(83.2% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#f2d687',
    500: '#e7c552',
    950: '#000000',
  },
}
SCSS
$custom: #e7c552;
$custom-light: #f2d687;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c552",
  "rgb": {
    "r": 231,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 46.309,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8316,
    "c": 0.13731,
    "h": 92.6
  },
  "luminance": 0.57531
}

Semantic roles & 50–950 ramp

primary
#E7C552
secondary
#344FA9
accent
#3CD80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C552

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

Preview Lab → · Contrast checker → · Palette generator →

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