#FFDF70#FFDF70

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

Color values

HEX#FFDF70
RGBrgb(255, 223, 112)
HSLhsl(47, 100%, 72%)
HSVhsv(47, 56%, 100%)
CMYKcmyk(0%, 12.5%, 56.1%, 0%)
CIE-LABlab(89.49, -1.98, 57.60)
CIE-LCHlch(89.49, 57.63, 91.97°)
OKLaboklab(90.88% -0.0082 0.1346)
OKLCHoklch(90.88% 0.135 93.5)
XYZxyz(70.5552, 75.2086, 26.1264)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF70 #7090FF
analogous
#FF9770 #FFDF70 #D8FF70
triadic
#FFDF70 #70FFDF #DF70FF
tetradic
#FFDF70 #70FF97 #7090FF #FF70D8
square
#FFDF70 #70FF97 #7090FF #FF70D8
split-complementary
#FFDF70 #70D8FF #9770FF
monochromatic
#F5BE00 #FFD133 #FFDF70 #FFEDAD #FFF8E0

Accessibility & contrast

On white

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

On black

16.04
#FFDF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF70
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF70#FFFFFF#000000##000000
##FFDF701.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf70;
/* rgb */ color: rgb(255, 223, 112);
/* oklch */ color: oklch(90.9% 0.135 93.5);
Tailwind
colors: {
  custom: {
    50: '#ffe89c',
    500: '#ffdf70',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf70;
$custom-light: #ffe89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf70",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 46.573,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9088,
    "c": 0.13482,
    "h": 93.5
  },
  "luminance": 0.75205
}

Semantic roles & 50–950 ramp

primary
#FFDF70
secondary
#375CDC
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFDF70

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

Preview Lab → · Contrast checker → · Palette generator →

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