#EDD972#EDD972

#EDD972 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.126 H 98.6°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#EDD972
RGBrgb(237, 217, 114)
HSLhsl(50, 77%, 69%)
HSVhsv(50, 52%, 93%)
CMYKcmyk(0%, 8.4%, 51.9%, 7.1%)
CIE-LABlab(86.43, -6.07, 52.68)
CIE-LCHlch(86.43, 53.03, 96.57°)
OKLaboklab(88.09% -0.0187 0.1244)
OKLCHoklch(88.09% 0.126 98.6)
XYZxyz(62.7772, 68.8476, 25.8984)
Luminance0.6885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD972 #7286ED
analogous
#ED9C72 #EDD972 #C4ED72
triadic
#EDD972 #72EDD9 #D972ED
tetradic
#EDD972 #72ED9C #7286ED #ED72C4
square
#EDD972 #72ED9C #7286ED #ED72C4
split-complementary
#EDD972 #72C4ED #9C72ED
monochromatic
#CBAE1A #E6CA3C #EDD972 #F4E8A8 #FBF6DF

Accessibility & contrast

On white

1.42
#EDD972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#EDD972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD972
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD972#FFFFFF#000000##000000
##EDD9721.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD469
Deuteranopia (green-blind)
#F0DB77
Tritanopia (blue-blind)
#FDCCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd972;
/* rgb */ color: rgb(237, 217, 114);
/* oklch */ color: oklch(88.1% 0.126 98.6);
Tailwind
colors: {
  custom: {
    50: '#f5e49d',
    500: '#edd972',
    950: '#000000',
  },
}
SCSS
$custom: #edd972;
$custom-light: #f5e49d;
$custom-dark: #000000;
JSON
{
  "hex": "#edd972",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 114
  },
  "hsl": {
    "h": 50.244,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88094,
    "c": 0.12581,
    "h": 98.6
  },
  "luminance": 0.68845
}

Semantic roles & 50–950 ramp

primary
#EDD972
secondary
#3E54C6
accent
#2DDA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD972

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

Preview Lab → · Contrast checker → · Palette generator →

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