#FDF47B#FDF47B

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

Color values

HEX#FDF47B
RGBrgb(253, 244, 123)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 51%, 99%)
CMYKcmyk(0%, 3.6%, 51.4%, 0.8%)
CIE-LABlab(94.75, -12.38, 58.66)
CIE-LCHlch(94.75, 59.95, 101.92°)
OKLaboklab(95.04% -0.0368 0.138)
OKLCHoklch(95.04% 0.143 104.9)
XYZxyz(76.4360, 87.0164, 31.5045)
Luminance0.8701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF47B #7B84FD
analogous
#FDB37B #FDF47B #C5FD7B
triadic
#FDF47B #7BFDF4 #F47BFD
tetradic
#FDF47B #7BFDB3 #7B84FD #FD7BC5
square
#FDF47B #7BFDB3 #7B84FD #FD7BC5
split-complementary
#FDF47B #7BC5FD #B37BFD
monochromatic
#FAE904 #FCEF3F #FDF47B #FEF9B7 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF47B#FFFFFF#000000##000000
##FDF47B1.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)
#FFED70
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf47b;
/* rgb */ color: rgb(253, 244, 123);
/* oklch */ color: oklch(95.0% 0.143 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff7a4',
    500: '#fdf47b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf47b;
$custom-light: #fff7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf47b",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 55.846,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95041,
    "c": 0.14282,
    "h": 104.9
  },
  "luminance": 0.87014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF47B

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

Preview Lab → · Contrast checker → · Palette generator →

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