#FFD97C#FFD97C

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

Color values

HEX#FFD97C
RGBrgb(255, 217, 124)
HSLhsl(43, 100%, 74%)
HSVhsv(43, 51%, 100%)
CMYKcmyk(0%, 14.9%, 51.4%, 0%)
CIE-LABlab(88.13, 2.02, 50.34)
CIE-LCHlch(88.13, 50.38, 87.70°)
OKLaboklab(89.85% 0.0048 0.1198)
OKLCHoklch(89.85% 0.12 87.7)
XYZxyz(69.6937, 72.3444, 29.3578)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD97C #7CA2FF
analogous
#FF987C #FFD97C #E4FF7C
triadic
#FFD97C #7CFFD9 #D97CFF
tetradic
#FFD97C #7CFF98 #7CA2FF #FF7CE4
square
#FFD97C #7CFF98 #7CA2FF #FF7CE4
split-complementary
#FFD97C #7CE4FF #987CFF
monochromatic
#FFB502 #FFC73F #FFD97C #FFEBB9 #FFF6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFD97C#FFFFFF#000000##000000
##FFD97C1.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)
#ECD774
Deuteranopia (green-blind)
#F6E17F
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffd97c;
/* rgb */ color: rgb(255, 217, 124);
/* oklch */ color: oklch(89.9% 0.120 87.7);
Tailwind
colors: {
  custom: {
    50: '#ffe4a4',
    500: '#ffd97c',
    950: '#000000',
  },
}
SCSS
$custom: #ffd97c;
$custom-light: #ffe4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd97c",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 42.595,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89853,
    "c": 0.11992,
    "h": 87.7
  },
  "luminance": 0.72341
}

Semantic roles & 50–950 ramp

primary
#FFD97C
secondary
#426FDE
accent
#43E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD97C

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

Preview Lab → · Contrast checker → · Palette generator →

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