#E7D548#E7D548

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

Color values

HEX#E7D548
RGBrgb(231, 213, 72)
HSLhsl(53, 77%, 59%)
HSVhsv(53, 69%, 91%)
CMYKcmyk(0%, 7.8%, 68.8%, 9.4%)
CIE-LABlab(84.51, -9.32, 68.56)
CIE-LCHlch(84.51, 69.19, 97.74°)
OKLaboklab(86.33% -0.0323 0.153)
OKLCHoklch(86.33% 0.156 101.9)
XYZxyz(57.9215, 65.0478, 15.6341)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D548 #485AE7
analogous
#E78648 #E7D548 #A9E748
triadic
#E7D548 #48E7D5 #D548E7
tetradic
#E7D548 #48E786 #485AE7 #E748A9
square
#E7D548 #48E786 #485AE7 #E748A9
split-complementary
#E7D548 #48A9E7 #8648E7
monochromatic
#A09015 #D6C11C #E7D548 #EEE17E #F5EEB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D548#FFFFFF#000000##000000
##E7D5481.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)
#E8CF33
Deuteranopia (green-blind)
#EED651
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d548;
/* rgb */ color: rgb(231, 213, 72);
/* oklch */ color: oklch(86.3% 0.156 101.9);
Tailwind
colors: {
  custom: {
    50: '#f2e183',
    500: '#e7d548',
    950: '#000000',
  },
}
SCSS
$custom: #e7d548;
$custom-light: #f2e183;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d548",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 53.208,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86327,
    "c": 0.15636,
    "h": 101.9
  },
  "luminance": 0.65045
}

Semantic roles & 50–950 ramp

primary
#E7D548
secondary
#313EA2
accent
#4AF334
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D548

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

Preview Lab → · Contrast checker → · Palette generator →

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