#FFDF98#FFDF98

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

Color values

HEX#FFDF98
RGBrgb(255, 223, 152)
HSLhsl(41, 100%, 80%)
HSVhsv(41, 40%, 100%)
CMYKcmyk(0%, 12.5%, 40.4%, 0%)
CIE-LABlab(90.00, 1.61, 38.85)
CIE-LCHlch(90.00, 38.88, 87.62°)
OKLaboklab(91.45% 0.0062 0.0956)
OKLCHoklch(91.45% 0.096 86.3)
XYZxyz(73.2971, 76.3053, 40.5672)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF98 #98B8FF
analogous
#FFAB98 #FFDF98 #ECFF98
triadic
#FFDF98 #98FFDF #DF98FF
tetradic
#FFDF98 #98FFAB #98B8FF #FF98EC
square
#FFDF98 #98FFAB #98B8FF #FF98EC
split-complementary
#FFDF98 #98ECFF #AB98FF
monochromatic
#FFB91E #FFCC5B #FFDF98 #FFF2D5 #FFF5E0

Accessibility & contrast

On white

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

On black

16.26
#FFDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF98
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF98#FFFFFF#000000##000000
##FFDF981.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf98;
/* rgb */ color: rgb(255, 223, 152);
/* oklch */ color: oklch(91.4% 0.096 86.3);
Tailwind
colors: {
  custom: {
    50: '#ffe8b7',
    500: '#ffdf98',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf98;
$custom-light: #ffe8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf98",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 41.359,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.91448,
    "c": 0.09576,
    "h": 86.3
  },
  "luminance": 0.76302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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