#FFFA78#FFFA78

#FFFA78 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.4% C 0.151 H 106.9°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FFFA78
RGBrgb(255, 250, 120)
HSLhsl(58, 100%, 74%)
HSVhsv(58, 53%, 100%)
CMYKcmyk(0%, 2%, 52.9%, 0%)
CIE-LABlab(96.41, -14.76, 61.98)
CIE-LCHlch(96.41, 63.71, 103.39°)
OKLaboklab(96.39% -0.044 0.1449)
OKLCHoklch(96.39% 0.151 106.9)
XYZxyz(78.8180, 90.9895, 31.1765)
Luminance0.9099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA78 #787DFF
analogous
#FFB678 #FFFA78 #C0FF78
triadic
#FFFA78 #78FFFA #FA78FF
tetradic
#FFFA78 #78FFB6 #787DFF #FF78C0
square
#FFFA78 #78FFB6 #787DFF #FF78C0
split-complementary
#FFFA78 #78C0FF #B678FF
monochromatic
#FDF300 #FFF83B #FFFA78 #FFFCB5 #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.20
#FFFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA78
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA78#FFFFFF#000000##000000
##FFFA781.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF77F
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa78;
/* rgb */ color: rgb(255, 250, 120);
/* oklch */ color: oklch(96.4% 0.151 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fffa78',
    950: '#000000',
  },
}
SCSS
$custom: #fffa78;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa78",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 57.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9639,
    "c": 0.15141,
    "h": 106.9
  },
  "luminance": 0.90987
}

Semantic roles & 50–950 ramp

primary
#FFFA78
secondary
#3E44DD
accent
#08E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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