#FAF778#FAF778

#FAF778 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.149 H 107.7°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FAF778
RGBrgb(250, 247, 120)
HSLhsl(59, 93%, 73%)
HSVhsv(59, 52%, 98%)
CMYKcmyk(0%, 1.2%, 52%, 2%)
CIE-LABlab(95.25, -15.27, 60.54)
CIE-LCHlch(95.25, 62.44, 104.16°)
OKLaboklab(95.37% -0.0452 0.1418)
OKLCHoklch(95.37% 0.149 107.7)
XYZxyz(76.0773, 88.2036, 30.7831)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF778 #787BFA
analogous
#FAB678 #FAF778 #BCFA78
triadic
#FAF778 #78FAF7 #F778FA
tetradic
#FAF778 #78FAB6 #787BFA #FA78BC
square
#FAF778 #78FAB6 #787BFA #FA78BC
split-complementary
#FAF778 #78BCFA #B678FA
monochromatic
#EFE909 #F8F43D #FAF778 #FCFAB3 #FEFDE1

Accessibility & contrast

On white

1.13
#FAF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#FAF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF778
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF778#FFFFFF#000000##000000
##FAF7781.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf778;
/* rgb */ color: rgb(250, 247, 120);
/* oklch */ color: oklch(95.4% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#fef9a2',
    500: '#faf778',
    950: '#000000',
  },
}
SCSS
$custom: #faf778;
$custom-light: #fef9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faf778",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 58.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95373,
    "c": 0.14886,
    "h": 107.7
  },
  "luminance": 0.88202
}

Semantic roles & 50–950 ramp

primary
#FAF778
secondary
#4043D6
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF778

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

Preview Lab → · Contrast checker → · Palette generator →

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