#FFD997#FFD997

#FFD997 is a very light, moderate orange. Relative luminance 0.731; OKLCH L 90.3% C 0.093 H 80.9°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#FFD997
RGBrgb(255, 217, 151)
HSLhsl(38, 100%, 80%)
HSVhsv(38, 41%, 100%)
CMYKcmyk(0%, 14.9%, 40.8%, 0%)
CIE-LABlab(88.51, 4.58, 37.41)
CIE-LCHlch(88.51, 37.69, 83.03°)
OKLaboklab(90.27% 0.0148 0.0922)
OKLCHoklch(90.27% 0.093 80.9)
XYZxyz(71.6408, 73.1233, 39.6127)
Luminance0.7312 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD997 #97BDFF
analogous
#FFA597 #FFD997 #F1FF97
triadic
#FFD997 #97FFD9 #D997FF
tetradic
#FFD997 #97FFA5 #97BDFF #FF97F1
square
#FFD997 #97FFA5 #97BDFF #FF97F1
split-complementary
#FFD997 #97F1FF #A597FF
monochromatic
#FFAC1D #FFC35A #FFD997 #FFEFD4 #FFF4E0

Accessibility & contrast

On white

1.34
#FFD997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#FFD997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD997
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD997#FFFFFF#000000##000000
##FFD9971.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#F3E299
Tritanopia (blue-blind)
#FFCDC8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffd997;
/* rgb */ color: rgb(255, 217, 151);
/* oklch */ color: oklch(90.3% 0.093 80.9);
Tailwind
colors: {
  custom: {
    50: '#ffe4b6',
    500: '#ffd997',
    950: '#000000',
  },
}
SCSS
$custom: #ffd997;
$custom-light: #ffe4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd997",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 38.077,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.90267,
    "c": 0.09337,
    "h": 80.9
  },
  "luminance": 0.7312
}

Semantic roles & 50–950 ramp

primary
#FFD997
secondary
#598BE2
accent
#54E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFD997

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

Preview Lab → · Contrast checker → · Palette generator →

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