#FDF78C#FDF78C

#FDF78C is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.9% C 0.129 H 105.8°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FDF78C
RGBrgb(253, 247, 140)
HSLhsl(57, 97%, 77%)
HSVhsv(57, 45%, 99%)
CMYKcmyk(0%, 2.4%, 44.7%, 0.8%)
CIE-LABlab(95.71, -12.37, 51.90)
CIE-LCHlch(95.71, 53.35, 103.40°)
OKLaboklab(95.87% -0.0351 0.1245)
OKLCHoklch(95.87% 0.129 105.8)
XYZxyz(78.5041, 89.2997, 37.9070)
Luminance0.8930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF78C #8C92FD
analogous
#FDBF8C #FDF78C #CBFD8C
triadic
#FDF78C #8CFDF7 #F78CFD
tetradic
#FDF78C #8CFDBF #8C92FD #FD8CCB
square
#FDF78C #8CFDBF #8C92FD #FD8CCB
split-complementary
#FDF78C #8CCBFD #BF8CFD
monochromatic
#FBEF14 #FCF350 #FDF78C #FEFBC8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.86
#FDF78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF78C
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF78C#FFFFFF#000000##000000
##FDF78C1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF083
Deuteranopia (green-blind)
#FFF591
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf78c;
/* rgb */ color: rgb(253, 247, 140);
/* oklch */ color: oklch(95.9% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff9af',
    500: '#fdf78c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf78c;
$custom-light: #fff9af;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf78c",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 140
  },
  "hsl": {
    "h": 56.814,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95867,
    "c": 0.12936,
    "h": 105.8
  },
  "luminance": 0.89298
}

Semantic roles & 50–950 ramp

primary
#FDF78C
secondary
#5058DD
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDF78C

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

Preview Lab → · Contrast checker → · Palette generator →

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