#FDF56A#FDF56A

#FDF56A is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.159 H 106.0°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FDF56A
RGBrgb(253, 245, 106)
HSLhsl(57, 97%, 70%)
HSVhsv(57, 58%, 99%)
CMYKcmyk(0%, 3.2%, 58.1%, 0.8%)
CIE-LABlab(94.84, -14.14, 66.26)
CIE-LCHlch(94.84, 67.75, 102.05°)
OKLaboklab(95.06% -0.0436 0.1525)
OKLCHoklch(95.06% 0.159 106)
XYZxyz(75.7644, 87.2305, 26.4791)
Luminance0.8723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF56A #6A72FD
analogous
#FDAC6A #FDF56A #BBFD6A
triadic
#FDF56A #6AFDF5 #F56AFD
tetradic
#FDF56A #6AFDAC #6A72FD #FD6ABB
square
#FDF56A #6AFDAC #6A72FD #FD6ABB
split-complementary
#FDF56A #6ABBFD #AC6AFD
monochromatic
#E9DD03 #FCF12E #FDF56A #FEF9A6 #FFFDE1

Accessibility & contrast

On white

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

On black

18.45
#FDF56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF56A
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF56A#FFFFFF#000000##000000
##FDF56A1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5B
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf56a;
/* rgb */ color: rgb(253, 245, 106);
/* oklch */ color: oklch(95.1% 0.159 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff899',
    500: '#fdf56a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf56a;
$custom-light: #fff899;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf56a",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 56.735,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9506,
    "c": 0.15861,
    "h": 106
  },
  "luminance": 0.87228
}

Semantic roles & 50–950 ramp

primary
#FDF56A
secondary
#333CD8
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF56A

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

Preview Lab → · Contrast checker → · Palette generator →

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