#FAF77C#FAF77C

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

Color values

HEX#FAF77C
RGBrgb(250, 247, 124)
HSLhsl(59, 93%, 73%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 1.2%, 50.4%, 2%)
CIE-LABlab(95.29, -14.95, 58.78)
CIE-LCHlch(95.29, 60.65, 104.27°)
OKLaboklab(95.42% -0.0439 0.1384)
OKLCHoklch(95.42% 0.145 107.6)
XYZxyz(76.3251, 88.3028, 32.0884)
Luminance0.8830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF77C #7C7FFA
analogous
#FAB87C #FAF77C #BEFA7C
triadic
#FAF77C #7CFAF7 #F77CFA
tetradic
#FAF77C #7CFAB8 #7C7FFA #FA7CBE
square
#FAF77C #7CFAB8 #7C7FFA #FA7CBE
split-complementary
#FAF77C #7CBEFA #B87CFA
monochromatic
#F2ED09 #F8F341 #FAF77C #FCFBB7 #FEFDE2

Accessibility & contrast

On white

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

On black

18.66
#FAF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF77C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF77C#FFFFFF#000000##000000
##FAF77C1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf77c;
/* rgb */ color: rgb(250, 247, 124);
/* oklch */ color: oklch(95.4% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#fef9a5',
    500: '#faf77c',
    950: '#000000',
  },
}
SCSS
$custom: #faf77c;
$custom-light: #fef9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf77c",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 58.571,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95419,
    "c": 0.14519,
    "h": 107.6
  },
  "luminance": 0.88301
}

Semantic roles & 50–950 ramp

primary
#FAF77C
secondary
#4347D7
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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