#E7C652#E7C652

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

Color values

HEX#E7C652
RGBrgb(231, 198, 82)
HSLhsl(47, 76%, 61%)
HSVhsv(47, 65%, 91%)
CMYKcmyk(0%, 14.3%, 64.5%, 9.4%)
CIE-LABlab(80.73, -1.12, 60.60)
CIE-LCHlch(80.73, 60.61, 91.06°)
OKLaboklab(83.36% -0.0078 0.1378)
OKLCHoklch(83.36% 0.138 93.2)
XYZxyz(54.6747, 57.9892, 16.2942)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C652 #5273E7
analogous
#E77C52 #E7C652 #BEE752
triadic
#E7C652 #52E7C6 #C652E7
tetradic
#E7C652 #52E77C #5273E7 #E752BE
square
#E7C652 #52E77C #5273E7 #E752BE
split-complementary
#E7C652 #52BEE7 #7C52E7
monochromatic
#A78717 #DDB31F #E7C652 #EED888 #F6E9BD

Accessibility & contrast

On white

1.67
#E7C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#E7C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C652
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C652#FFFFFF#000000##000000
##E7C6521.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c652;
/* rgb */ color: rgb(231, 198, 82);
/* oklch */ color: oklch(83.4% 0.138 93.2);
Tailwind
colors: {
  custom: {
    50: '#f2d788',
    500: '#e7c652',
    950: '#000000',
  },
}
SCSS
$custom: #e7c652;
$custom-light: #f2d788;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c652",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 46.711,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8336,
    "c": 0.13797,
    "h": 93.2
  },
  "luminance": 0.57986
}

Semantic roles & 50–950 ramp

primary
#E7C652
secondary
#344EA9
accent
#3AD80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C652

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

Preview Lab → · Contrast checker → · Palette generator →

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