#EED971#EED971

#EED971 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.127 H 98.1°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#EED971
RGBrgb(238, 217, 113)
HSLhsl(50, 79%, 69%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.8%, 52.5%, 6.7%)
CIE-LABlab(86.50, -5.74, 53.26)
CIE-LCHlch(86.50, 53.57, 96.16°)
OKLaboklab(88.17% -0.0179 0.1256)
OKLCHoklch(88.17% 0.127 98.1)
XYZxyz(63.0555, 68.9976, 25.6160)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED971 #7186EE
analogous
#EE9B71 #EED971 #C5EE71
triadic
#EED971 #71EED9 #D971EE
tetradic
#EED971 #71EE9B #7186EE #EE71C5
square
#EED971 #71EE9B #7186EE #EE71C5
split-complementary
#EED971 #71C5EE #9B71EE
monochromatic
#CCAE18 #E7CA3A #EED971 #F5E8A8 #FBF6DE

Accessibility & contrast

On white

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

On black

14.80
#EED971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED971
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED971#FFFFFF#000000##000000
##EED9711.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD467
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#FECCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #eed971;
/* rgb */ color: rgb(238, 217, 113);
/* oklch */ color: oklch(88.2% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#f6e49c',
    500: '#eed971',
    950: '#000000',
  },
}
SCSS
$custom: #eed971;
$custom-light: #f6e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#eed971",
  "rgb": {
    "r": 238,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 49.92,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88169,
    "c": 0.12685,
    "h": 98.1
  },
  "luminance": 0.68995
}

Semantic roles & 50–950 ramp

primary
#EED971
secondary
#3D54C7
accent
#2EDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EED971

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

Preview Lab → · Contrast checker → · Palette generator →

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