#FAF77D#FAF77D

#FAF77D is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.144 H 107.6°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FAF77D
RGBrgb(250, 247, 125)
HSLhsl(59, 93%, 74%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 1.2%, 50%, 2%)
CIE-LABlab(95.30, -14.86, 58.34)
CIE-LCHlch(95.30, 60.20, 104.29°)
OKLaboklab(95.43% -0.0436 0.1375)
OKLCHoklch(95.43% 0.144 107.6)
XYZxyz(76.3887, 88.3282, 32.4232)
Luminance0.8833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF77D #7D80FA
analogous
#FAB87D #FAF77D #BEFA7D
triadic
#FAF77D #7DFAF7 #F77DFA
tetradic
#FAF77D #7DFAB8 #7D80FA #FA7DBE
square
#FAF77D #7DFAB8 #7D80FA #FA7DBE
split-complementary
#FAF77D #7DBEFA #B87DFA
monochromatic
#F3EE09 #F8F342 #FAF77D #FCFBB8 #FEFDE2

Accessibility & contrast

On white

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

On black

18.67
#FAF77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF77D
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF77D#FFFFFF#000000##000000
##FAF77D1.001.1318.6718.67
#FFFFFF1.131.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf77d;
/* rgb */ color: rgb(250, 247, 125);
/* oklch */ color: oklch(95.4% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#fef9a5',
    500: '#faf77d',
    950: '#000000',
  },
}
SCSS
$custom: #faf77d;
$custom-light: #fef9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf77d",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 125
  },
  "hsl": {
    "h": 58.56,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95431,
    "c": 0.14426,
    "h": 107.6
  },
  "luminance": 0.88326
}

Semantic roles & 50–950 ramp

primary
#FAF77D
secondary
#4448D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF77D

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

Preview Lab → · Contrast checker → · Palette generator →

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