#FFDF72#FFDF72

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

Color values

HEX#FFDF72
RGBrgb(255, 223, 114)
HSLhsl(46, 100%, 72%)
HSVhsv(46, 55%, 100%)
CMYKcmyk(0%, 12.5%, 55.3%, 0%)
CIE-LABlab(89.51, -1.83, 56.70)
CIE-LCHlch(89.51, 56.73, 91.85°)
OKLaboklab(90.9% -0.0075 0.1328)
OKLCHoklch(90.9% 0.133 93.2)
XYZxyz(70.6678, 75.2536, 26.7194)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF72 #7292FF
analogous
#FF9972 #FFDF72 #D9FF72
triadic
#FFDF72 #72FFDF #DF72FF
tetradic
#FFDF72 #72FF99 #7292FF #FF72D9
square
#FFDF72 #72FF99 #7292FF #FF72D9
split-complementary
#FFDF72 #72D9FF #9972FF
monochromatic
#F7BF00 #FFD135 #FFDF72 #FFEDAF #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF72#FFFFFF#000000##000000
##FFDF721.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)
#F3DB68
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf72;
/* rgb */ color: rgb(255, 223, 114);
/* oklch */ color: oklch(90.9% 0.133 93.2);
Tailwind
colors: {
  custom: {
    50: '#ffe89d',
    500: '#ffdf72',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf72;
$custom-light: #ffe89d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf72",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 46.383,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90903,
    "c": 0.13305,
    "h": 93.2
  },
  "luminance": 0.7525
}

Semantic roles & 50–950 ramp

primary
#FFDF72
secondary
#395EDC
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFDF72

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

Preview Lab → · Contrast checker → · Palette generator →

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