#EDD472#EDD472

#EDD472 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.122 H 95.4°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#EDD472
RGBrgb(237, 212, 114)
HSLhsl(48, 77%, 69%)
HSVhsv(48, 52%, 93%)
CMYKcmyk(0%, 10.5%, 51.9%, 7.1%)
CIE-LABlab(85.15, -3.53, 51.16)
CIE-LCHlch(85.15, 51.28, 93.94°)
OKLaboklab(87.09% -0.0114 0.1211)
OKLCHoklch(87.09% 0.122 95.4)
XYZxyz(61.5079, 66.3090, 25.4753)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD472 #728BED
analogous
#ED9772 #EDD472 #C9ED72
triadic
#EDD472 #72EDD4 #D472ED
tetradic
#EDD472 #72ED97 #728BED #ED72C9
square
#EDD472 #72ED97 #728BED #ED72C9
split-complementary
#EDD472 #72C9ED #9772ED
monochromatic
#CBA71A #E6C33C #EDD472 #F4E5A8 #FBF5DF

Accessibility & contrast

On white

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

On black

14.26
#EDD472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD472
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD472#FFFFFF#000000##000000
##EDD4721.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D069
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#FDC7BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #edd472;
/* rgb */ color: rgb(237, 212, 114);
/* oklch */ color: oklch(87.1% 0.122 95.4);
Tailwind
colors: {
  custom: {
    50: '#f5e19d',
    500: '#edd472',
    950: '#000000',
  },
}
SCSS
$custom: #edd472;
$custom-light: #f5e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#edd472",
  "rgb": {
    "r": 237,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 47.805,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87085,
    "c": 0.12162,
    "h": 95.4
  },
  "luminance": 0.66306
}

Semantic roles & 50–950 ramp

primary
#EDD472
secondary
#3E59C6
accent
#36DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD472

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

Preview Lab → · Contrast checker → · Palette generator →

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