#FFDF97#FFDF97

#FFDF97 is a very light, moderate orange. Relative luminance 0.763; OKLCH L 91.4% C 0.097 H 86.5°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#FFDF97
RGBrgb(255, 223, 151)
HSLhsl(42, 100%, 80%)
HSVhsv(42, 41%, 100%)
CMYKcmyk(0%, 12.5%, 40.8%, 0%)
CIE-LABlab(89.99, 1.51, 39.33)
CIE-LCHlch(89.99, 39.36, 87.80°)
OKLaboklab(91.43% 0.0058 0.0966)
OKLCHoklch(91.43% 0.097 86.5)
XYZxyz(73.2155, 76.2727, 40.1377)
Luminance0.7627 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF97 #97B7FF
analogous
#FFAB97 #FFDF97 #EBFF97
triadic
#FFDF97 #97FFDF #DF97FF
tetradic
#FFDF97 #97FFAB #97B7FF #FF97EB
square
#FFDF97 #97FFAB #97B7FF #FF97EB
split-complementary
#FFDF97 #97EBFF #AB97FF
monochromatic
#FFB91D #FFCC5A #FFDF97 #FFF2D4 #FFF6E0

Accessibility & contrast

On white

1.29
#FFDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#FFDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF97
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF97#FFFFFF#000000##000000
##FFDF971.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD92
Deuteranopia (green-blind)
#F7E699
Tritanopia (blue-blind)
#FFD3CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffdf97;
/* rgb */ color: rgb(255, 223, 151);
/* oklch */ color: oklch(91.4% 0.097 86.5);
Tailwind
colors: {
  custom: {
    50: '#ffe8b6',
    500: '#ffdf97',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf97;
$custom-light: #ffe8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf97",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 41.538,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.91431,
    "c": 0.09681,
    "h": 86.5
  },
  "luminance": 0.7627
}

Semantic roles & 50–950 ramp

primary
#FFDF97
secondary
#5983E2
accent
#47E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FFDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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