#FFD97D#FFD97D

#FFD97D is a very light, moderate orange. Relative luminance 0.724; OKLCH L 89.9% C 0.119 H 87.5°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#FFD97D
RGBrgb(255, 217, 125)
HSLhsl(42, 100%, 75%)
HSVhsv(42, 51%, 100%)
CMYKcmyk(0%, 14.9%, 51%, 0%)
CIE-LABlab(88.15, 2.10, 49.87)
CIE-LCHlch(88.15, 49.91, 87.58°)
OKLaboklab(89.87% 0.0051 0.1189)
OKLCHoklch(89.87% 0.119 87.5)
XYZxyz(69.7572, 72.3698, 29.6925)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD97D #7DA3FF
analogous
#FF987D #FFD97D #E4FF7D
triadic
#FFD97D #7DFFD9 #D97DFF
tetradic
#FFD97D #7DFF98 #7DA3FF #FF7DE4
square
#FFD97D #7DFF98 #7DA3FF #FF7DE4
split-complementary
#FFD97D #7DE4FF #987DFF
monochromatic
#FFB503 #FFC740 #FFD97D #FFEBBA #FFF6E0

Accessibility & contrast

On white

1.36
#FFD97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#FFD97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD97D
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD97D#FFFFFF#000000##000000
##FFD97D1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#F6E180
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffd97d;
/* rgb */ color: rgb(255, 217, 125);
/* oklch */ color: oklch(89.9% 0.119 87.5);
Tailwind
colors: {
  custom: {
    50: '#ffe4a4',
    500: '#ffd97d',
    950: '#000000',
  },
}
SCSS
$custom: #ffd97d;
$custom-light: #ffe4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd97d",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 42.462,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89867,
    "c": 0.11898,
    "h": 87.5
  },
  "luminance": 0.72366
}

Semantic roles & 50–950 ramp

primary
#FFD97D
secondary
#4270DE
accent
#43E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD97D

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

Preview Lab → · Contrast checker → · Palette generator →

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