#FFEF71#FFEF71

#FFEF71 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.147 H 102.1°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FFEF71
RGBrgb(255, 239, 113)
HSLhsl(53, 100%, 72%)
HSVhsv(53, 56%, 100%)
CMYKcmyk(0%, 6.3%, 55.7%, 0%)
CIE-LABlab(93.53, -9.90, 61.80)
CIE-LCHlch(93.53, 62.58, 99.10°)
OKLaboklab(94.08% -0.0309 0.1437)
OKLCHoklch(94.08% 0.147 102.1)
XYZxyz(75.0897, 84.1880, 27.9141)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF71 #7181FF
analogous
#FFA871 #FFEF71 #C8FF71
triadic
#FFEF71 #71FFEF #EF71FF
tetradic
#FFEF71 #71FFA8 #7181FF #FF71C8
square
#FFEF71 #71FFA8 #7181FF #FF71C8
split-complementary
#FFEF71 #71C8FF #A871FF
monochromatic
#F6DA00 #FFE834 #FFEF71 #FFF6AE #FFFCE0

Accessibility & contrast

On white

1.18
#FFEF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FFEF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF71
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF71#FFFFFF#000000##000000
##FFEF711.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef71;
/* rgb */ color: rgb(255, 239, 113);
/* oklch */ color: oklch(94.1% 0.147 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#ffef71',
    950: '#000000',
  },
}
SCSS
$custom: #ffef71;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef71",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 53.239,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94084,
    "c": 0.147,
    "h": 102.1
  },
  "luminance": 0.84185
}

Semantic roles & 50–950 ramp

primary
#FFEF71
secondary
#384BDC
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF71

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

Preview Lab → · Contrast checker → · Palette generator →

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