#FDF78E#FDF78E

#FDF78E is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.127 H 105.7°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FDF78E
RGBrgb(253, 247, 142)
HSLhsl(57, 97%, 77%)
HSVhsv(57, 44%, 99%)
CMYKcmyk(0%, 2.4%, 43.9%, 0.8%)
CIE-LABlab(95.73, -12.18, 50.98)
CIE-LCHlch(95.73, 52.41, 103.43°)
OKLaboklab(95.9% -0.0344 0.1226)
OKLCHoklch(95.9% 0.127 105.7)
XYZxyz(78.6529, 89.3592, 38.6908)
Luminance0.8936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF78E #8E94FD
analogous
#FDC08E #FDF78E #CBFD8E
triadic
#FDF78E #8EFDF7 #F78EFD
tetradic
#FDF78E #8EFDC0 #8E94FD #FD8ECB
square
#FDF78E #8EFDC0 #8E94FD #FD8ECB
split-complementary
#FDF78E #8ECBFD #C08EFD
monochromatic
#FBEE16 #FCF352 #FDF78E #FEFBCA #FEFDE1

Accessibility & contrast

On white

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

On black

18.87
#FDF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF78E
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF78E#FFFFFF#000000##000000
##FDF78E1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf78e;
/* rgb */ color: rgb(253, 247, 142);
/* oklch */ color: oklch(95.9% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fdf78e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf78e;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf78e",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 56.757,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95895,
    "c": 0.12732,
    "h": 105.7
  },
  "luminance": 0.89357
}

Semantic roles & 50–950 ramp

primary
#FDF78E
secondary
#5259DD
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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