#E7D848#E7D848

#E7D848 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.159 H 103.3°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E7D848
RGBrgb(231, 216, 72)
HSLhsl(54, 77%, 59%)
HSVhsv(54, 69%, 91%)
CMYKcmyk(0%, 6.5%, 68.8%, 9.4%)
CIE-LABlab(85.29, -10.82, 69.34)
CIE-LCHlch(85.29, 70.18, 98.87°)
OKLaboklab(86.95% -0.0365 0.1546)
OKLCHoklch(86.95% 0.159 103.3)
XYZxyz(58.6830, 66.5709, 15.8880)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D848 #4857E7
analogous
#E78948 #E7D848 #A6E748
triadic
#E7D848 #48E7D8 #D848E7
tetradic
#E7D848 #48E789 #4857E7 #E748A6
square
#E7D848 #48E789 #4857E7 #E748A6
split-complementary
#E7D848 #48A6E7 #8948E7
monochromatic
#A09315 #D6C41C #E7D848 #EEE47E #F5EFB4

Accessibility & contrast

On white

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

On black

14.31
#E7D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D848
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D848#FFFFFF#000000##000000
##E7D8481.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD132
Deuteranopia (green-blind)
#F0D851
Tritanopia (blue-blind)
#F8C9BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d848;
/* rgb */ color: rgb(231, 216, 72);
/* oklch */ color: oklch(86.9% 0.159 103.3);
Tailwind
colors: {
  custom: {
    50: '#f2e383',
    500: '#e7d848',
    950: '#000000',
  },
}
SCSS
$custom: #e7d848;
$custom-light: #f2e383;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d848",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 54.34,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86946,
    "c": 0.1589,
    "h": 103.3
  },
  "luminance": 0.66569
}

Semantic roles & 50–950 ramp

primary
#E7D848
secondary
#313CA2
accent
#46F334
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D848

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

Preview Lab → · Contrast checker → · Palette generator →

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