#FFF97D#FFF97D

#FFF97D is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.146 H 106.3°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FFF97D
RGBrgb(255, 249, 125)
HSLhsl(57, 100%, 75%)
HSVhsv(57, 51%, 100%)
CMYKcmyk(0%, 2.4%, 51%, 0%)
CIE-LABlab(96.20, -13.88, 59.50)
CIE-LCHlch(96.20, 61.09, 103.13°)
OKLaboklab(96.24% -0.041 0.14)
OKLCHoklch(96.24% 0.146 106.3)
XYZxyz(78.8194, 90.4943, 32.7132)
Luminance0.9049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF97D #7D83FF
analogous
#FFB87D #FFF97D #C4FF7D
triadic
#FFF97D #7DFFF9 #F97DFF
tetradic
#FFF97D #7DFFB8 #7D83FF #FF7DC4
square
#FFF97D #7DFFB8 #7D83FF #FF7DC4
split-complementary
#FFF97D #7DC4FF #B87DFF
monochromatic
#FFF303 #FFF640 #FFF97D #FFFCBA #FFFEE0

Accessibility & contrast

On white

1.10
#FFF97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.10
#FFF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF97D
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF97D#FFFFFF#000000##000000
##FFF97D1.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF783
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff97d;
/* rgb */ color: rgb(255, 249, 125);
/* oklch */ color: oklch(96.2% 0.146 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fff97d',
    950: '#000000',
  },
}
SCSS
$custom: #fff97d;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff97d",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 57.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96244,
    "c": 0.14585,
    "h": 106.3
  },
  "luminance": 0.90492
}

Semantic roles & 50–950 ramp

primary
#FFF97D
secondary
#424ADE
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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