#E7C654#E7C654

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

Color values

HEX#E7C654
RGBrgb(231, 198, 84)
HSLhsl(47, 75%, 62%)
HSVhsv(47, 64%, 91%)
CMYKcmyk(0%, 14.3%, 63.6%, 9.4%)
CIE-LABlab(80.75, -1.00, 59.75)
CIE-LCHlch(80.75, 59.76, 90.96°)
OKLaboklab(83.38% -0.0072 0.1363)
OKLCHoklch(83.38% 0.136 93)
XYZxyz(54.7519, 58.0201, 16.7009)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C654 #5475E7
analogous
#E77D54 #E7C654 #BEE754
triadic
#E7C654 #54E7C6 #C654E7
tetradic
#E7C654 #54E77D #5475E7 #E754BE
square
#E7C654 #54E77D #5475E7 #E754BE
split-complementary
#E7C654 #54BEE7 #7D54E7
monochromatic
#A98818 #DFB41F #E7C654 #EFD88A #F6EABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7C654#FFFFFF#000000##000000
##E7C6541.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)
#DAC347
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#F9B7AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c654;
/* rgb */ color: rgb(231, 198, 84);
/* oklch */ color: oklch(83.4% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#f2d789',
    500: '#e7c654',
    950: '#000000',
  },
}
SCSS
$custom: #e7c654;
$custom-light: #f2d789;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c654",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 46.531,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83379,
    "c": 0.13644,
    "h": 93
  },
  "luminance": 0.58017
}

Semantic roles & 50–950 ramp

primary
#E7C654
secondary
#354FAA
accent
#3BD80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C654

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

Preview Lab → · Contrast checker → · Palette generator →

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