#FDF795#FDF795

#FDF795 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 96.0% C 0.120 H 105.4°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FDF795
RGBrgb(253, 247, 149)
HSLhsl(57, 96%, 79%)
HSVhsv(57, 41%, 99%)
CMYKcmyk(0%, 2.4%, 41.1%, 0.8%)
CIE-LABlab(95.82, -11.49, 47.73)
CIE-LCHlch(95.82, 49.10, 103.53°)
OKLaboklab(96% -0.0319 0.1157)
OKLCHoklch(96% 0.12 105.4)
XYZxyz(79.1950, 89.5761, 41.5461)
Luminance0.8957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF795 #959BFD
analogous
#FDC395 #FDF795 #CFFD95
triadic
#FDF795 #95FDF7 #F795FD
tetradic
#FDF795 #95FDC3 #959BFD #FD95CF
square
#FDF795 #95FDC3 #959BFD #FD95CF
split-complementary
#FDF795 #95CFFD #C395FD
monochromatic
#FBEE1D #FCF259 #FDF795 #FEFCD1 #FEFDE1

Accessibility & contrast

On white

1.11
#FDF795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#FDF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF795
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF795#FFFFFF#000000##000000
##FDF7951.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08D
Deuteranopia (green-blind)
#FFF599
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf795;
/* rgb */ color: rgb(253, 247, 149);
/* oklch */ color: oklch(96.0% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff9b5',
    500: '#fdf795',
    950: '#000000',
  },
}
SCSS
$custom: #fdf795;
$custom-light: #fff9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf795",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 56.538,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95996,
    "c": 0.12001,
    "h": 105.4
  },
  "luminance": 0.89574
}

Semantic roles & 50–950 ramp

primary
#FDF795
secondary
#5860DE
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF795

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

Preview Lab → · Contrast checker → · Palette generator →

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