#FFDF71#FFDF71

#FFDF71 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.9% C 0.134 H 93.4°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#FFDF71
RGBrgb(255, 223, 113)
HSLhsl(46, 100%, 72%)
HSVhsv(46, 56%, 100%)
CMYKcmyk(0%, 12.5%, 55.7%, 0%)
CIE-LABlab(89.50, -1.90, 57.15)
CIE-LCHlch(89.50, 57.18, 91.91°)
OKLaboklab(90.89% -0.0079 0.1337)
OKLCHoklch(90.89% 0.134 93.4)
XYZxyz(70.6112, 75.2310, 26.4213)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF71 #7191FF
analogous
#FF9871 #FFDF71 #D8FF71
triadic
#FFDF71 #71FFDF #DF71FF
tetradic
#FFDF71 #71FF98 #7191FF #FF71D8
square
#FFDF71 #71FF98 #7191FF #FF71D8
split-complementary
#FFDF71 #71D8FF #9871FF
monochromatic
#F6BE00 #FFD134 #FFDF71 #FFEDAE #FFF8E0

Accessibility & contrast

On white

1.31
#FFDF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#FFDF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF71
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF71#FFFFFF#000000##000000
##FFDF711.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB67
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf71;
/* rgb */ color: rgb(255, 223, 113);
/* oklch */ color: oklch(90.9% 0.134 93.4);
Tailwind
colors: {
  custom: {
    50: '#ffe89d',
    500: '#ffdf71',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf71;
$custom-light: #ffe89d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf71",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 46.479,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90891,
    "c": 0.13394,
    "h": 93.4
  },
  "luminance": 0.75228
}

Semantic roles & 50–950 ramp

primary
#FFDF71
secondary
#385DDC
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFDF71

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

Preview Lab → · Contrast checker → · Palette generator →

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