#FDF495#FDF495

#FDF495 is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.4% C 0.117 H 103.7°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FDF495
RGBrgb(253, 244, 149)
HSLhsl(55, 96%, 79%)
HSVhsv(55, 41%, 99%)
CMYKcmyk(0%, 3.6%, 41.1%, 0.8%)
CIE-LABlab(95.06, -10.01, 46.77)
CIE-LCHlch(95.06, 47.83, 102.08°)
OKLaboklab(95.39% -0.0276 0.1135)
OKLCHoklch(95.39% 0.117 103.7)
XYZxyz(78.2850, 87.7560, 41.2427)
Luminance0.8775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF495 #959EFD
analogous
#FDC095 #FDF495 #D2FD95
triadic
#FDF495 #95FDF4 #F495FD
tetradic
#FDF495 #95FDC0 #959EFD #FD95D2
square
#FDF495 #95FDC0 #959EFD #FD95D2
split-complementary
#FDF495 #95D2FD #C095FD
monochromatic
#FBE81D #FCEE59 #FDF495 #FEFAD1 #FEFCE1

Accessibility & contrast

On white

1.13
#FDF495 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FDF495 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF495
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF495#FFFFFF#000000##000000
##FDF4951.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FFF399
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf495;
/* rgb */ color: rgb(253, 244, 149);
/* oklch */ color: oklch(95.4% 0.117 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff7b5',
    500: '#fdf495',
    950: '#000000',
  },
}
SCSS
$custom: #fdf495;
$custom-light: #fff7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf495",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 149
  },
  "hsl": {
    "h": 54.808,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95391,
    "c": 0.11685,
    "h": 103.7
  },
  "luminance": 0.87754
}

Semantic roles & 50–950 ramp

primary
#FDF495
secondary
#5863DE
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF495

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

Preview Lab → · Contrast checker → · Palette generator →

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