#FFD97B#FFD97B

#FFD97B is a very light, vivid orange. Relative luminance 0.723; OKLCH L 89.8% C 0.121 H 87.9°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#FFD97B
RGBrgb(255, 217, 123)
HSLhsl(43, 100%, 74%)
HSVhsv(43, 52%, 100%)
CMYKcmyk(0%, 14.9%, 51.8%, 0%)
CIE-LABlab(88.12, 1.94, 50.80)
CIE-LCHlch(88.12, 50.84, 87.82°)
OKLaboklab(89.84% 0.0044 0.1208)
OKLCHoklch(89.84% 0.121 87.9)
XYZxyz(69.6307, 72.3192, 29.0264)
Luminance0.7232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD97B #7BA1FF
analogous
#FF977B #FFD97B #E3FF7B
triadic
#FFD97B #7BFFD9 #D97BFF
tetradic
#FFD97B #7BFF97 #7BA1FF #FF7BE3
square
#FFD97B #7BFF97 #7BA1FF #FF7BE3
split-complementary
#FFD97B #7BE3FF #977BFF
monochromatic
#FFB601 #FFC73E #FFD97B #FFEBB8 #FFF6E0

Accessibility & contrast

On white

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

On black

15.46
#FFD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD97B
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD97B#FFFFFF#000000##000000
##FFD97B1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd97b;
/* rgb */ color: rgb(255, 217, 123);
/* oklch */ color: oklch(89.8% 0.121 87.9);
Tailwind
colors: {
  custom: {
    50: '#ffe4a3',
    500: '#ffd97b',
    950: '#000000',
  },
}
SCSS
$custom: #ffd97b;
$custom-light: #ffe4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd97b",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 42.727,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.8984,
    "c": 0.12086,
    "h": 87.9
  },
  "luminance": 0.72316
}

Semantic roles & 50–950 ramp

primary
#FFD97B
secondary
#416EDD
accent
#42E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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