#FDF47F#FDF47F

#FDF47F is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.1% C 0.139 H 104.8°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FDF47F
RGBrgb(253, 244, 127)
HSLhsl(56, 97%, 75%)
HSVhsv(56, 50%, 99%)
CMYKcmyk(0%, 3.6%, 49.8%, 0.8%)
CIE-LABlab(94.79, -12.05, 56.88)
CIE-LCHlch(94.79, 58.14, 101.96°)
OKLaboklab(95.09% -0.0355 0.1345)
OKLCHoklch(95.09% 0.139 104.8)
XYZxyz(76.6915, 87.1186, 32.8503)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF47F #7F88FD
analogous
#FDB57F #FDF47F #C7FD7F
triadic
#FDF47F #7FFDF4 #F47FFD
tetradic
#FDF47F #7FFDB5 #7F88FD #FD7FC7
square
#FDF47F #7FFDB5 #7F88FD #FD7FC7
split-complementary
#FDF47F #7FC7FD #B57FFD
monochromatic
#FBEA06 #FCEF43 #FDF47F #FEF9BB #FFFCE1

Accessibility & contrast

On white

1.14
#FDF47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FDF47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF47F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF47F#FFFFFF#000000##000000
##FDF47F1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf47f;
/* rgb */ color: rgb(253, 244, 127);
/* oklch */ color: oklch(95.1% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff7a7',
    500: '#fdf47f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf47f;
$custom-light: #fff7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf47f",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 127
  },
  "hsl": {
    "h": 55.714,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9509,
    "c": 0.13907,
    "h": 104.8
  },
  "luminance": 0.87116
}

Semantic roles & 50–950 ramp

primary
#FDF47F
secondary
#4550DB
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF47F

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

Preview Lab → · Contrast checker → · Palette generator →

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