#E7D84F#E7D84F

#E7D84F is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.154 H 103.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#E7D84F
RGBrgb(231, 216, 79)
HSLhsl(54, 76%, 61%)
HSVhsv(54, 66%, 91%)
CMYKcmyk(0%, 6.5%, 65.8%, 9.4%)
CIE-LABlab(85.34, -10.45, 66.69)
CIE-LCHlch(85.34, 67.50, 98.91°)
OKLaboklab(87% -0.0348 0.1502)
OKLCHoklch(87% 0.154 103)
XYZxyz(58.9245, 66.6675, 17.1599)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D84F #4F5EE7
analogous
#E78C4F #E7D84F #AAE74F
triadic
#E7D84F #4FE7D8 #D84FE7
tetradic
#E7D84F #4FE78C #4F5EE7 #E74FAA
square
#E7D84F #4FE78C #4F5EE7 #E74FAA
split-complementary
#E7D84F #4FAAE7 #8C4FE7
monochromatic
#A59717 #DBC81E #E7D84F #EEE485 #F6F0BB

Accessibility & contrast

On white

1.47
#E7D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#E7D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D84F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D84F#FFFFFF#000000##000000
##E7D84F1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13D
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#F8CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d84f;
/* rgb */ color: rgb(231, 216, 79);
/* oklch */ color: oklch(87.0% 0.154 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2e387',
    500: '#e7d84f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d84f;
$custom-light: #f2e387;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d84f",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 54.079,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87,
    "c": 0.15415,
    "h": 103
  },
  "luminance": 0.66665
}

Semantic roles & 50–950 ramp

primary
#E7D84F
secondary
#333FA7
accent
#21D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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