#FDF197#FDF197

#FDF197 is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.8% C 0.112 H 101.7°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FDF197
RGBrgb(253, 241, 151)
HSLhsl(53, 96%, 79%)
HSVhsv(53, 40%, 99%)
CMYKcmyk(0%, 4.7%, 40.3%, 0.8%)
CIE-LABlab(94.33, -8.32, 44.87)
CIE-LCHlch(94.33, 45.63, 100.51°)
OKLaboklab(94.82% -0.0226 0.1093)
OKLCHoklch(94.82% 0.112 101.7)
XYZxyz(77.5507, 86.0298, 41.7924)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF197 #97A3FD
analogous
#FDBE97 #FDF197 #D6FD97
triadic
#FDF197 #97FDF1 #F197FD
tetradic
#FDF197 #97FDBE #97A3FD #FD97D6
square
#FDF197 #97FDBE #97A3FD #FD97D6
split-complementary
#FDF197 #97D6FD #BE97FD
monochromatic
#FBE11F #FCE95B #FDF197 #FEF9D3 #FEFBE1

Accessibility & contrast

On white

1.15
#FDF197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#FDF197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF197
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF197#FFFFFF#000000##000000
##FDF1971.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf197;
/* rgb */ color: rgb(253, 241, 151);
/* oklch */ color: oklch(94.8% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff5b7',
    500: '#fdf197',
    950: '#000000',
  },
}
SCSS
$custom: #fdf197;
$custom-light: #fff5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf197",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 151
  },
  "hsl": {
    "h": 52.941,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94819,
    "c": 0.11164,
    "h": 101.7
  },
  "luminance": 0.86028
}

Semantic roles & 50–950 ramp

primary
#FDF197
secondary
#5969DF
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF197

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

Preview Lab → · Contrast checker → · Palette generator →

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