#FFDF7D#FFDF7D

#FFDF7D is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 91.0% C 0.123 H 91.8°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#FFDF7D
RGBrgb(255, 223, 125)
HSLhsl(45, 100%, 75%)
HSVhsv(45, 51%, 100%)
CMYKcmyk(0%, 12.5%, 51%, 0%)
CIE-LABlab(89.64, -0.95, 51.67)
CIE-LCHlch(89.64, 51.68, 91.05°)
OKLaboklab(91.04% -0.0038 0.1229)
OKLCHoklch(91.04% 0.123 91.8)
XYZxyz(71.3319, 75.5193, 30.2174)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF7D #7D9DFF
analogous
#FF9E7D #FFDF7D #DEFF7D
triadic
#FFDF7D #7DFFDF #DF7DFF
tetradic
#FFDF7D #7DFF9E #7D9DFF #FF7DDE
square
#FFDF7D #7DFF9E #7D9DFF #FF7DDE
split-complementary
#FFDF7D #7DDEFF #9E7DFF
monochromatic
#FFC103 #FFD040 #FFDF7D #FFEEBA #FFF7E0

Accessibility & contrast

On white

1.30
#FFDF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#FFDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF7D
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF7D#FFFFFF#000000##000000
##FFDF7D1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC75
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf7d;
/* rgb */ color: rgb(255, 223, 125);
/* oklch */ color: oklch(91.0% 0.123 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffe8a5',
    500: '#ffdf7d',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf7d;
$custom-light: #ffe8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf7d",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 45.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91041,
    "c": 0.12292,
    "h": 91.8
  },
  "luminance": 0.75516
}

Semantic roles & 50–950 ramp

primary
#FFDF7D
secondary
#4269DE
accent
#38E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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