#FFDF96#FFDF96

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

Color values

HEX#FFDF96
RGBrgb(255, 223, 150)
HSLhsl(42, 100%, 79%)
HSVhsv(42, 41%, 100%)
CMYKcmyk(0%, 12.5%, 41.2%, 0%)
CIE-LABlab(89.97, 1.40, 39.81)
CIE-LCHlch(89.97, 39.84, 87.98°)
OKLaboklab(91.41% 0.0055 0.0977)
OKLCHoklch(91.41% 0.098 86.8)
XYZxyz(73.1347, 76.2404, 39.7118)
Luminance0.7624 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF96 #96B6FF
analogous
#FFAB96 #FFDF96 #EBFF96
triadic
#FFDF96 #96FFDF #DF96FF
tetradic
#FFDF96 #96FFAB #96B6FF #FF96EB
square
#FFDF96 #96FFAB #96B6FF #FF96EB
split-complementary
#FFDF96 #96EBFF #AB96FF
monochromatic
#FFBA1C #FFCC59 #FFDF96 #FFF2D3 #FFF6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF96#FFFFFF#000000##000000
##FFDF961.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)
#EFDD91
Deuteranopia (green-blind)
#F7E698
Tritanopia (blue-blind)
#FFD3CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffdf96;
/* rgb */ color: rgb(255, 223, 150);
/* oklch */ color: oklch(91.4% 0.098 86.8);
Tailwind
colors: {
  custom: {
    50: '#ffe8b5',
    500: '#ffdf96',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf96;
$custom-light: #ffe8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf96",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 150
  },
  "hsl": {
    "h": 41.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.91414,
    "c": 0.09785,
    "h": 86.8
  },
  "luminance": 0.76237
}

Semantic roles & 50–950 ramp

primary
#FFDF96
secondary
#5882E1
accent
#46E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FFDF96

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

Preview Lab → · Contrast checker → · Palette generator →

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