#FAFD78#FAFD78

#FAFD78 is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.6% C 0.155 H 110.2°. Best body text is #000000 at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#FAFD78
RGBrgb(250, 253, 120)
HSLhsl(61, 97%, 73%)
HSVhsv(61, 53%, 99%)
CMYKcmyk(1.2%, 0%, 52.6%, 0.8%)
CIE-LABlab(96.79, -18.17, 62.33)
CIE-LCHlch(96.79, 64.92, 106.26°)
OKLaboklab(96.6% -0.0535 0.1457)
OKLCHoklch(96.6% 0.155 110.2)
XYZxyz(77.9417, 91.9324, 31.4046)
Luminance0.9193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFD78 #7B78FD
analogous
#FDBD78 #FAFD78 #B8FD78
triadic
#FAFD78 #78FAFD #FD78FA
tetradic
#FAFD78 #78FDBD #7B78FD #FD78B8
square
#FAFD78 #78FDBD #7B78FD #FD78B8
split-complementary
#FAFD78 #78B8FD #BD78FD
monochromatic
#F1F704 #F8FC3C #FAFD78 #FCFEB4 #FEFFE1

Accessibility & contrast

On white

1.08
#FAFD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.39
#FAFD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFD78
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFD78#FFFFFF#000000##000000
##FAFD781.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36B
Deuteranopia (green-blind)
#FFF87F
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafd78;
/* rgb */ color: rgb(250, 253, 120);
/* oklch */ color: oklch(96.6% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#fefda3',
    500: '#fafd78',
    950: '#000000',
  },
}
SCSS
$custom: #fafd78;
$custom-light: #fefda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fafd78",
  "rgb": {
    "r": 250,
    "g": 253,
    "b": 120
  },
  "hsl": {
    "h": 61.353,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96605,
    "c": 0.1552,
    "h": 110.2
  },
  "luminance": 0.91931
}

Semantic roles & 50–950 ramp

primary
#FAFD78
secondary
#423FDA
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFD78

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

Preview Lab → · Contrast checker → · Palette generator →

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