#FDF792#FDF792

#FDF792 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 96.0% C 0.123 H 105.5°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FDF792
RGBrgb(253, 247, 146)
HSLhsl(57, 96%, 78%)
HSVhsv(57, 42%, 99%)
CMYKcmyk(0%, 2.4%, 42.3%, 0.8%)
CIE-LABlab(95.78, -11.79, 49.13)
CIE-LCHlch(95.78, 50.52, 103.49°)
OKLaboklab(95.95% -0.0329 0.1187)
OKLCHoklch(95.95% 0.123 105.5)
XYZxyz(78.9586, 89.4815, 40.3009)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF792 #9298FD
analogous
#FDC292 #FDF792 #CDFD92
triadic
#FDF792 #92FDF7 #F792FD
tetradic
#FDF792 #92FDC2 #9298FD #FD92CD
square
#FDF792 #92FDC2 #9298FD #FD92CD
split-complementary
#FDF792 #92CDFD #C292FD
monochromatic
#FBEE1A #FCF356 #FDF792 #FEFBCE #FEFDE1

Accessibility & contrast

On white

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

On black

18.90
#FDF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF792
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF792#FFFFFF#000000##000000
##FDF7921.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf792;
/* rgb */ color: rgb(253, 247, 146);
/* oklch */ color: oklch(96.0% 0.123 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff9b3',
    500: '#fdf792',
    950: '#000000',
  },
}
SCSS
$custom: #fdf792;
$custom-light: #fff9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf792",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 56.636,
    "s": 96.396,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95952,
    "c": 0.12318,
    "h": 105.5
  },
  "luminance": 0.89479
}

Semantic roles & 50–950 ramp

primary
#FDF792
secondary
#555DDE
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF792

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

Preview Lab → · Contrast checker → · Palette generator →

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