#E7D54A#E7D54A

#E7D54A is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.3% C 0.155 H 101.8°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#E7D54A
RGBrgb(231, 213, 74)
HSLhsl(53, 77%, 60%)
HSVhsv(53, 68%, 91%)
CMYKcmyk(0%, 7.8%, 68%, 9.4%)
CIE-LABlab(84.52, -9.22, 67.81)
CIE-LCHlch(84.52, 68.43, 97.74°)
OKLaboklab(86.34% -0.0318 0.1517)
OKLCHoklch(86.34% 0.155 101.8)
XYZxyz(57.9878, 65.0743, 15.9834)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D54A #4A5CE7
analogous
#E7874A #E7D54A #ABE74A
triadic
#E7D54A #4AE7D5 #D54AE7
tetradic
#E7D54A #4AE787 #4A5CE7 #E74AAB
square
#E7D54A #4AE787 #4A5CE7 #E74AAB
split-complementary
#E7D54A #4AABE7 #874AE7
monochromatic
#A19115 #D7C21D #E7D54A #EEE280 #F5EEB6

Accessibility & contrast

On white

1.50
#E7D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#E7D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D54A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D54A#FFFFFF#000000##000000
##E7D54A1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF36
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d54a;
/* rgb */ color: rgb(231, 213, 74);
/* oklch */ color: oklch(86.3% 0.155 101.8);
Tailwind
colors: {
  custom: {
    50: '#f2e184',
    500: '#e7d54a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d54a;
$custom-light: #f2e184;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d54a",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 53.121,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86342,
    "c": 0.15503,
    "h": 101.8
  },
  "luminance": 0.65072
}

Semantic roles & 50–950 ramp

primary
#E7D54A
secondary
#313FA4
accent
#4AF335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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