#FAF78E#FAF78E

#FAF78E is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.128 H 107.1°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FAF78E
RGBrgb(250, 247, 142)
HSLhsl(58, 92%, 77%)
HSVhsv(58, 43%, 98%)
CMYKcmyk(0%, 1.2%, 43.2%, 2%)
CIE-LABlab(95.50, -13.34, 50.64)
CIE-LCHlch(95.50, 52.37, 104.75°)
OKLaboklab(95.65% -0.0376 0.1219)
OKLCHoklch(95.65% 0.128 107.1)
XYZxyz(77.5691, 88.8004, 38.6400)
Luminance0.8880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF78E #8E91FA
analogous
#FAC18E #FAF78E #C7FA8E
triadic
#FAF78E #8EFAF7 #F78EFA
tetradic
#FAF78E #8EFAC1 #8E91FA #FA8EC7
square
#FAF78E #8EFAC1 #8E91FA #FA8EC7
split-complementary
#FAF78E #8EC7FA #C18EFA
monochromatic
#F5EF19 #F7F353 #FAF78E #FDFBC9 #FEFDE2

Accessibility & contrast

On white

1.12
#FAF78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#FAF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF78E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF78E#FFFFFF#000000##000000
##FAF78E1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf78e;
/* rgb */ color: rgb(250, 247, 142);
/* oklch */ color: oklch(95.7% 0.128 107.1);
Tailwind
colors: {
  custom: {
    50: '#fef9b1',
    500: '#faf78e',
    950: '#000000',
  },
}
SCSS
$custom: #faf78e;
$custom-light: #fef9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf78e",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 58.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95653,
    "c": 0.12752,
    "h": 107.1
  },
  "luminance": 0.88799
}

Semantic roles & 50–950 ramp

primary
#FAF78E
secondary
#5357D9
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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