#FDF46C#FDF46C

#FDF46C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.9% C 0.156 H 105.5°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#FDF46C
RGBrgb(253, 244, 108)
HSLhsl(56, 97%, 71%)
HSVhsv(56, 57%, 99%)
CMYKcmyk(0%, 3.6%, 57.3%, 0.8%)
CIE-LABlab(94.60, -13.51, 65.14)
CIE-LCHlch(94.60, 66.53, 101.72°)
OKLaboklab(94.88% -0.0416 0.1504)
OKLCHoklch(94.88% 0.156 105.5)
XYZxyz(75.5679, 86.6692, 26.9327)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF46C #6C75FD
analogous
#FDAB6C #FDF46C #BDFD6C
triadic
#FDF46C #6CFDF4 #F46CFD
tetradic
#FDF46C #6CFDAB #6C75FD #FD6CBD
square
#FDF46C #6CFDAB #6C75FD #FD6CBD
split-complementary
#FDF46C #6CBDFD #AB6CFD
monochromatic
#EBDD03 #FCEF30 #FDF46C #FEF9A8 #FFFDE1

Accessibility & contrast

On white

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

On black

18.33
#FDF46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF46C
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF46C#FFFFFF#000000##000000
##FDF46C1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf46c;
/* rgb */ color: rgb(253, 244, 108);
/* oklch */ color: oklch(94.9% 0.156 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff79b',
    500: '#fdf46c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf46c;
$custom-light: #fff79b;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf46c",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 56.276,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94876,
    "c": 0.15601,
    "h": 105.5
  },
  "luminance": 0.86667
}

Semantic roles & 50–950 ramp

primary
#FDF46C
secondary
#353FD9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF46C

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

Preview Lab → · Contrast checker → · Palette generator →

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