#FFDF7C#FFDF7C

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

Color values

HEX#FFDF7C
RGBrgb(255, 223, 124)
HSLhsl(45, 100%, 74%)
HSVhsv(45, 51%, 100%)
CMYKcmyk(0%, 12.5%, 51.4%, 0%)
CIE-LABlab(89.62, -1.03, 52.14)
CIE-LCHlch(89.62, 52.15, 91.13°)
OKLaboklab(91.03% -0.0041 0.1238)
OKLCHoklch(91.03% 0.124 91.9)
XYZxyz(71.2684, 75.4938, 29.8827)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF7C #7C9CFF
analogous
#FF9E7C #FFDF7C #DDFF7C
triadic
#FFDF7C #7CFFDF #DF7CFF
tetradic
#FFDF7C #7CFF9E #7C9CFF #FF7CDD
square
#FFDF7C #7CFF9E #7C9CFF #FF7CDD
split-complementary
#FFDF7C #7CDDFF #9E7CFF
monochromatic
#FFC102 #FFD03F #FFDF7C #FFEEB9 #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF7C#FFFFFF#000000##000000
##FFDF7C1.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)
#F2DC73
Deuteranopia (green-blind)
#FAE580
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf7c;
/* rgb */ color: rgb(255, 223, 124);
/* oklch */ color: oklch(91.0% 0.124 91.9);
Tailwind
colors: {
  custom: {
    50: '#ffe8a4',
    500: '#ffdf7c',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf7c;
$custom-light: #ffe8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf7c",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 45.344,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91028,
    "c": 0.12387,
    "h": 91.9
  },
  "luminance": 0.75491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFDF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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