#EDD771#EDD771

#EDD771 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.125 H 97.4°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#EDD771
RGBrgb(237, 215, 113)
HSLhsl(49, 78%, 69%)
HSVhsv(49, 52%, 93%)
CMYKcmyk(0%, 9.3%, 52.3%, 7.1%)
CIE-LABlab(85.91, -5.14, 52.54)
CIE-LCHlch(85.91, 52.79, 95.58°)
OKLaboklab(87.68% -0.0161 0.124)
OKLCHoklch(87.68% 0.125 97.4)
XYZxyz(62.2082, 67.8002, 25.4295)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD771 #7187ED
analogous
#ED9971 #EDD771 #C5ED71
triadic
#EDD771 #71EDD7 #D771ED
tetradic
#EDD771 #71ED99 #7187ED #ED71C5
square
#EDD771 #71ED99 #7187ED #ED71C5
split-complementary
#EDD771 #71C5ED #9971ED
monochromatic
#CAAB1A #E6C83B #EDD771 #F4E6A7 #FBF6DE

Accessibility & contrast

On white

1.44
#EDD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#EDD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD771
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD771#FFFFFF#000000##000000
##EDD7711.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EEDA75
Tritanopia (blue-blind)
#FDCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd771;
/* rgb */ color: rgb(237, 215, 113);
/* oklch */ color: oklch(87.7% 0.125 97.4);
Tailwind
colors: {
  custom: {
    50: '#f5e39c',
    500: '#edd771',
    950: '#000000',
  },
}
SCSS
$custom: #edd771;
$custom-light: #f5e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd771",
  "rgb": {
    "r": 237,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 49.355,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87677,
    "c": 0.12504,
    "h": 97.4
  },
  "luminance": 0.67798
}

Semantic roles & 50–950 ramp

primary
#EDD771
secondary
#3D55C5
accent
#30DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD771

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

Preview Lab → · Contrast checker → · Palette generator →

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