#FAF77E#FAF77E

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

Color values

HEX#FAF77E
RGBrgb(250, 247, 126)
HSLhsl(59, 93%, 74%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 1.2%, 49.6%, 2%)
CIE-LABlab(95.31, -14.78, 57.90)
CIE-LCHlch(95.31, 59.75, 104.32°)
OKLaboklab(95.44% -0.0432 0.1367)
OKLCHoklch(95.44% 0.143 107.6)
XYZxyz(76.4529, 88.3539, 32.7613)
Luminance0.8835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF77E #7E81FA
analogous
#FAB97E #FAF77E #BFFA7E
triadic
#FAF77E #7EFAF7 #F77EFA
tetradic
#FAF77E #7EFAB9 #7E81FA #FA7EBF
square
#FAF77E #7EFAB9 #7E81FA #FA7EBF
split-complementary
#FAF77E #7EBFFA #B97EFA
monochromatic
#F4EE09 #F8F343 #FAF77E #FCFBB9 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF77E#FFFFFF#000000##000000
##FAF77E1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf77e;
/* rgb */ color: rgb(250, 247, 126);
/* oklch */ color: oklch(95.4% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#fef9a6',
    500: '#faf77e',
    950: '#000000',
  },
}
SCSS
$custom: #faf77e;
$custom-light: #fef9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf77e",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 58.548,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95443,
    "c": 0.14332,
    "h": 107.6
  },
  "luminance": 0.88352
}

Semantic roles & 50–950 ramp

primary
#FAF77E
secondary
#4549D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF77E

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

Preview Lab → · Contrast checker → · Palette generator →

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