#E7C661#E7C661

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

Color values

HEX#E7C661
RGBrgb(231, 198, 97)
HSLhsl(45, 74%, 64%)
HSVhsv(45, 58%, 91%)
CMYKcmyk(0%, 14.3%, 58%, 9.4%)
CIE-LABlab(80.87, -0.12, 54.03)
CIE-LCHlch(80.87, 54.03, 90.13°)
OKLaboklab(83.52% -0.0031 0.1257)
OKLCHoklch(83.52% 0.126 91.4)
XYZxyz(55.3092, 58.2430, 19.6357)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C661 #6182E7
analogous
#E78361 #E7C661 #C5E761
triadic
#E7C661 #61E7C6 #C661E7
tetradic
#E7C661 #61E783 #6182E7 #E761C5
square
#E7C661 #61E783 #6182E7 #E761C5
split-complementary
#E7C661 #61C5E7 #8361E7
monochromatic
#B28D1B #DFB32C #E7C661 #EFD996 #F7ECCB

Accessibility & contrast

On white

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

On black

12.65
#E7C661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C661
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C661#FFFFFF#000000##000000
##E7C6611.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c661;
/* rgb */ color: rgb(231, 198, 97);
/* oklch */ color: oklch(83.5% 0.126 91.4);
Tailwind
colors: {
  custom: {
    50: '#f2d791',
    500: '#e7c661',
    950: '#000000',
  },
}
SCSS
$custom: #e7c661;
$custom-light: #f2d791;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c661",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 45.224,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83517,
    "c": 0.12574,
    "h": 91.4
  },
  "luminance": 0.5824
}

Semantic roles & 50–950 ramp

primary
#E7C661
secondary
#3957B3
accent
#41D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C661

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

Preview Lab → · Contrast checker → · Palette generator →

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