#EFD771#EFD771

#EFD771 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.125 H 96.4°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#EFD771
RGBrgb(239, 215, 113)
HSLhsl(49, 80%, 69%)
HSVhsv(49, 53%, 94%)
CMYKcmyk(0%, 10%, 52.7%, 6.3%)
CIE-LABlab(86.08, -4.33, 52.78)
CIE-LCHlch(86.08, 52.96, 94.68°)
OKLaboklab(87.86% -0.0139 0.1245)
OKLCHoklch(87.86% 0.125 96.4)
XYZxyz(62.8799, 68.1465, 25.4610)
Luminance0.6814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD771 #7189EF
analogous
#EF9871 #EFD771 #C8EF71
triadic
#EFD771 #71EFD7 #D771EF
tetradic
#EFD771 #71EF98 #7189EF #EF71C8
square
#EFD771 #71EF98 #7189EF #EF71C8
split-complementary
#EFD771 #71C8EF #9871EF
monochromatic
#CEAB17 #E9C83A #EFD771 #F5E6A8 #FBF6DF

Accessibility & contrast

On white

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

On black

14.63
#EFD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD771
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD771#FFFFFF#000000##000000
##EFD7711.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D368
Deuteranopia (green-blind)
#EFDB75
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd771;
/* rgb */ color: rgb(239, 215, 113);
/* oklch */ color: oklch(87.9% 0.125 96.4);
Tailwind
colors: {
  custom: {
    50: '#f7e39c',
    500: '#efd771',
    950: '#000000',
  },
}
SCSS
$custom: #efd771;
$custom-light: #f7e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd771",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 48.571,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87855,
    "c": 0.12528,
    "h": 96.4
  },
  "luminance": 0.68144
}

Semantic roles & 50–950 ramp

primary
#EFD771
secondary
#3C57C8
accent
#32DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD771

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

Preview Lab → · Contrast checker → · Palette generator →

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