#E7C660#E7C660

#E7C660 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.5% C 0.127 H 91.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E7C660
RGBrgb(231, 198, 96)
HSLhsl(45, 74%, 64%)
HSVhsv(45, 58%, 91%)
CMYKcmyk(0%, 14.3%, 58.4%, 9.4%)
CIE-LABlab(80.86, -0.20, 54.48)
CIE-LCHlch(80.86, 54.48, 90.21°)
OKLaboklab(83.51% -0.0034 0.1266)
OKLCHoklch(83.51% 0.127 91.5)
XYZxyz(55.2628, 58.2245, 19.3917)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C660 #6081E7
analogous
#E78360 #E7C660 #C5E760
triadic
#E7C660 #60E7C6 #C660E7
tetradic
#E7C660 #60E783 #6081E7 #E760C5
square
#E7C660 #60E783 #6081E7 #E760C5
split-complementary
#E7C660 #60C5E7 #8360E7
monochromatic
#B28D1B #DFB32B #E7C660 #EFD995 #F7ECCA

Accessibility & contrast

On white

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

On black

12.64
#E7C660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C660
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C660#FFFFFF#000000##000000
##E7C6601.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C356
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#F8B8AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c660;
/* rgb */ color: rgb(231, 198, 96);
/* oklch */ color: oklch(83.5% 0.127 91.5);
Tailwind
colors: {
  custom: {
    50: '#f2d790',
    500: '#e7c660',
    950: '#000000',
  },
}
SCSS
$custom: #e7c660;
$custom-light: #f2d790;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c660",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 45.333,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83505,
    "c": 0.12661,
    "h": 91.5
  },
  "luminance": 0.58222
}

Semantic roles & 50–950 ramp

primary
#E7C660
secondary
#3957B2
accent
#40D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C660

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

Preview Lab → · Contrast checker → · Palette generator →

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