#E7D74A#E7D74A

#E7D74A is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.157 H 102.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#E7D74A
RGBrgb(231, 215, 74)
HSLhsl(54, 77%, 60%)
HSVhsv(54, 68%, 91%)
CMYKcmyk(0%, 6.9%, 68%, 9.4%)
CIE-LABlab(85.04, -10.22, 68.33)
CIE-LCHlch(85.04, 69.09, 98.51°)
OKLaboklab(86.75% -0.0346 0.1529)
OKLCHoklch(86.75% 0.157 102.8)
XYZxyz(58.4939, 66.0866, 16.1521)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D74A #4A5AE7
analogous
#E7884A #E7D74A #A9E74A
triadic
#E7D74A #4AE7D7 #D74AE7
tetradic
#E7D74A #4AE788 #4A5AE7 #E74AA9
square
#E7D74A #4AE788 #4A5AE7 #E74AA9
split-complementary
#E7D74A #4AA9E7 #884AE7
monochromatic
#A19315 #D7C41D #E7D74A #EEE380 #F5EFB6

Accessibility & contrast

On white

1.48
#E7D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#E7D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D74A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D74A#FFFFFF#000000##000000
##E7D74A1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD035
Deuteranopia (green-blind)
#EFD853
Tritanopia (blue-blind)
#F8C8BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d74a;
/* rgb */ color: rgb(231, 215, 74);
/* oklch */ color: oklch(86.8% 0.157 102.8);
Tailwind
colors: {
  custom: {
    50: '#f2e384',
    500: '#e7d74a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d74a;
$custom-light: #f2e384;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d74a",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 53.885,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86754,
    "c": 0.15673,
    "h": 102.8
  },
  "luminance": 0.66084
}

Semantic roles & 50–950 ramp

primary
#E7D74A
secondary
#313DA4
accent
#48F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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