#E7CC61#E7CC61

#E7CC61 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.130 H 95.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E7CC61
RGBrgb(231, 204, 97)
HSLhsl(48, 74%, 64%)
HSVhsv(48, 58%, 91%)
CMYKcmyk(0%, 11.7%, 58%, 9.4%)
CIE-LABlab(82.40, -3.21, 55.77)
CIE-LCHlch(82.40, 55.87, 93.30°)
OKLaboklab(84.72% -0.012 0.1295)
OKLCHoklch(84.72% 0.13 95.3)
XYZxyz(56.7078, 61.0404, 20.1019)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC61 #617CE7
analogous
#E78961 #E7CC61 #BFE761
triadic
#E7CC61 #61E7CC #CC61E7
tetradic
#E7CC61 #61E789 #617CE7 #E761BF
square
#E7CC61 #61E789 #617CE7 #E761BF
split-complementary
#E7CC61 #61BFE7 #8961E7
monochromatic
#B2941B #DFBB2C #E7CC61 #EFDD96 #F7EECB

Accessibility & contrast

On white

1.59
#E7CC61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E7CC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC61
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC61#FFFFFF#000000##000000
##E7CC611.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC856
Deuteranopia (green-blind)
#E5D166
Tritanopia (blue-blind)
#F8BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc61;
/* rgb */ color: rgb(231, 204, 97);
/* oklch */ color: oklch(84.7% 0.130 95.3);
Tailwind
colors: {
  custom: {
    50: '#f1db91',
    500: '#e7cc61',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc61;
$custom-light: #f1db91;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc61",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 97
  },
  "hsl": {
    "h": 47.91,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84723,
    "c": 0.13002,
    "h": 95.3
  },
  "luminance": 0.61038
}

Semantic roles & 50–950 ramp

primary
#E7CC61
secondary
#3952B3
accent
#38D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CC61

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

Preview Lab → · Contrast checker → · Palette generator →

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