#FFF97C#FFF97C

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

Color values

HEX#FFF97C
RGBrgb(255, 249, 124)
HSLhsl(57, 100%, 74%)
HSVhsv(57, 51%, 100%)
CMYKcmyk(0%, 2.4%, 51.4%, 0%)
CIE-LABlab(96.19, -13.96, 59.94)
CIE-LCHlch(96.19, 61.54, 103.11°)
OKLaboklab(96.23% -0.0413 0.1408)
OKLCHoklch(96.23% 0.147 106.4)
XYZxyz(78.7559, 90.4689, 32.3785)
Luminance0.9047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF97C #7C82FF
analogous
#FFB87C #FFF97C #C4FF7C
triadic
#FFF97C #7CFFF9 #F97CFF
tetradic
#FFF97C #7CFFB8 #7C82FF #FF7CC4
square
#FFF97C #7CFFB8 #7C82FF #FF7CC4
split-complementary
#FFF97C #7CC4FF #B87CFF
monochromatic
#FFF302 #FFF63F #FFF97C #FFFCB9 #FFFEE0

Accessibility & contrast

On white

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

On black

19.09
#FFF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF97C
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF97C#FFFFFF#000000##000000
##FFF97C1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff97c;
/* rgb */ color: rgb(255, 249, 124);
/* oklch */ color: oklch(96.2% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffba5',
    500: '#fff97c',
    950: '#000000',
  },
}
SCSS
$custom: #fff97c;
$custom-light: #fffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff97c",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 57.252,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96232,
    "c": 0.14677,
    "h": 106.4
  },
  "luminance": 0.90467
}

Semantic roles & 50–950 ramp

primary
#FFF97C
secondary
#4249DE
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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