#FDF47A#FDF47A

#FDF47A is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.144 H 105.0°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FDF47A
RGBrgb(253, 244, 122)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 52%, 99%)
CMYKcmyk(0%, 3.6%, 51.8%, 0.8%)
CIE-LABlab(94.73, -12.46, 59.10)
CIE-LCHlch(94.73, 60.40, 101.91°)
OKLaboklab(95.03% -0.0372 0.1389)
OKLCHoklch(95.03% 0.144 105)
XYZxyz(76.3737, 86.9915, 31.1765)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF47A #7A83FD
analogous
#FDB27A #FDF47A #C4FD7A
triadic
#FDF47A #7AFDF4 #F47AFD
tetradic
#FDF47A #7AFDB2 #7A83FD #FD7AC4
square
#FDF47A #7AFDB2 #7A83FD #FD7AC4
split-complementary
#FDF47A #7AC4FD #B27AFD
monochromatic
#F9E804 #FCEF3E #FDF47A #FEF9B6 #FFFDE1

Accessibility & contrast

On white

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

On black

18.40
#FDF47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF47A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF47A#FFFFFF#000000##000000
##FDF47A1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf47a;
/* rgb */ color: rgb(253, 244, 122);
/* oklch */ color: oklch(95.0% 0.144 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff7a3',
    500: '#fdf47a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf47a;
$custom-light: #fff7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf47a",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 122
  },
  "hsl": {
    "h": 55.878,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95029,
    "c": 0.14375,
    "h": 105
  },
  "luminance": 0.86989
}

Semantic roles & 50–950 ramp

primary
#FDF47A
secondary
#414BDB
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF47A

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

Preview Lab → · Contrast checker → · Palette generator →

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