#FFDF7F#FFDF7F

#FFDF7F is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 91.1% C 0.121 H 91.4°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#FFDF7F
RGBrgb(255, 223, 127)
HSLhsl(45, 100%, 75%)
HSVhsv(45, 50%, 100%)
CMYKcmyk(0%, 12.5%, 50.2%, 0%)
CIE-LABlab(89.66, -0.78, 50.75)
CIE-LCHlch(89.66, 50.75, 90.88°)
OKLaboklab(91.07% -0.0031 0.121)
OKLCHoklch(91.07% 0.121 91.4)
XYZxyz(71.4610, 75.5709, 30.8971)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF7F #7F9FFF
analogous
#FF9F7F #FFDF7F #DFFF7F
triadic
#FFDF7F #7FFFDF #DF7FFF
tetradic
#FFDF7F #7FFF9F #7F9FFF #FF7FDF
square
#FFDF7F #7FFF9F #7F9FFF #FF7FDF
split-complementary
#FFDF7F #7FDFFF #9F7FFF
monochromatic
#FFC005 #FFD042 #FFDF7F #FFEEBC #FFF7E0

Accessibility & contrast

On white

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

On black

16.11
#FFDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF7F
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF7F#FFFFFF#000000##000000
##FFDF7F1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf7f;
/* rgb */ color: rgb(255, 223, 127);
/* oklch */ color: oklch(91.1% 0.121 91.4);
Tailwind
colors: {
  custom: {
    50: '#ffe8a6',
    500: '#ffdf7f',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf7f;
$custom-light: #ffe8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf7f",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91068,
    "c": 0.12101,
    "h": 91.4
  },
  "luminance": 0.75568
}

Semantic roles & 50–950 ramp

primary
#FFDF7F
secondary
#446BDE
accent
#39E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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