#FFD97E#FFD97E

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

Color values

HEX#FFD97E
RGBrgb(255, 217, 126)
HSLhsl(42, 100%, 75%)
HSVhsv(42, 51%, 100%)
CMYKcmyk(0%, 14.9%, 50.6%, 0%)
CIE-LABlab(88.16, 2.19, 49.40)
CIE-LCHlch(88.16, 49.45, 87.46°)
OKLaboklab(89.88% 0.0055 0.1179)
OKLCHoklch(89.88% 0.118 87.3)
XYZxyz(69.8214, 72.3955, 30.0306)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD97E #7EA4FF
analogous
#FF997E #FFD97E #E4FF7E
triadic
#FFD97E #7EFFD9 #D97EFF
tetradic
#FFD97E #7EFF99 #7EA4FF #FF7EE4
square
#FFD97E #7EFF99 #7EA4FF #FF7EE4
split-complementary
#FFD97E #7EE4FF #997EFF
monochromatic
#FFB504 #FFC741 #FFD97E #FFEBBB #FFF6E0

Accessibility & contrast

On white

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

On black

15.48
#FFD97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD97E
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD97E#FFFFFF#000000##000000
##FFD97E1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd97e;
/* rgb */ color: rgb(255, 217, 126);
/* oklch */ color: oklch(89.9% 0.118 87.3);
Tailwind
colors: {
  custom: {
    50: '#ffe4a5',
    500: '#ffd97e',
    950: '#000000',
  },
}
SCSS
$custom: #ffd97e;
$custom-light: #ffe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd97e",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 42.326,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.8988,
    "c": 0.11804,
    "h": 87.3
  },
  "luminance": 0.72392
}

Semantic roles & 50–950 ramp

primary
#FFD97E
secondary
#4371DE
accent
#44E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD97E

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

Preview Lab → · Contrast checker → · Palette generator →

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