#EDD971#EDD971

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

Color values

HEX#EDD971
RGBrgb(237, 217, 113)
HSLhsl(50, 78%, 69%)
HSVhsv(50, 52%, 93%)
CMYKcmyk(0%, 8.4%, 52.3%, 7.1%)
CIE-LABlab(86.42, -6.15, 53.14)
CIE-LCHlch(86.42, 53.50, 96.60°)
OKLaboklab(88.08% -0.019 0.1253)
OKLCHoklch(88.08% 0.127 98.6)
XYZxyz(62.7206, 68.8249, 25.6003)
Luminance0.6882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD971 #7185ED
analogous
#ED9B71 #EDD971 #C3ED71
triadic
#EDD971 #71EDD9 #D971ED
tetradic
#EDD971 #71ED9B #7185ED #ED71C3
square
#EDD971 #71ED9B #7185ED #ED71C3
split-complementary
#EDD971 #71C3ED #9B71ED
monochromatic
#CAAE1A #E6CA3B #EDD971 #F4E8A7 #FBF6DE

Accessibility & contrast

On white

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

On black

14.76
#EDD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD971
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD971#FFFFFF#000000##000000
##EDD9711.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edd971;
/* rgb */ color: rgb(237, 217, 113);
/* oklch */ color: oklch(88.1% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#f5e49c',
    500: '#edd971',
    950: '#000000',
  },
}
SCSS
$custom: #edd971;
$custom-light: #f5e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd971",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 50.323,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88081,
    "c": 0.12676,
    "h": 98.6
  },
  "luminance": 0.68822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDD971

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

Preview Lab → · Contrast checker → · Palette generator →

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