#EFD171#EFD171

#EFD171 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.121 H 92.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#EFD171
RGBrgb(239, 209, 113)
HSLhsl(46, 80%, 69%)
HSVhsv(46, 53%, 94%)
CMYKcmyk(0%, 12.6%, 52.7%, 6.3%)
CIE-LABlab(84.56, -1.26, 50.97)
CIE-LCHlch(84.56, 50.99, 91.42°)
OKLaboklab(86.65% -0.005 0.1206)
OKLCHoklch(86.65% 0.121 92.4)
XYZxyz(61.3800, 65.1467, 24.9610)
Luminance0.6514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD171 #718FEF
analogous
#EF9271 #EFD171 #CEEF71
triadic
#EFD171 #71EFD1 #D171EF
tetradic
#EFD171 #71EF92 #718FEF #EF71CE
square
#EFD171 #71EF92 #718FEF #EF71CE
split-complementary
#EFD171 #71CEEF #9271EF
monochromatic
#CEA317 #E9BF3A #EFD171 #F5E3A8 #FBF5DF

Accessibility & contrast

On white

1.50
#EFD171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#EFD171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD171
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD171#FFFFFF#000000##000000
##EFD1711.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd171;
/* rgb */ color: rgb(239, 209, 113);
/* oklch */ color: oklch(86.7% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#f7de9c',
    500: '#efd171',
    950: '#000000',
  },
}
SCSS
$custom: #efd171;
$custom-light: #f7de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd171",
  "rgb": {
    "r": 239,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 45.714,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86653,
    "c": 0.12066,
    "h": 92.4
  },
  "luminance": 0.65144
}

Semantic roles & 50–950 ramp

primary
#EFD171
secondary
#3C5EC8
accent
#3CDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD171

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

Preview Lab → · Contrast checker → · Palette generator →

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