#FAF87A#FAF87A

#FAF87A is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.148 H 108.1°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FAF87A
RGBrgb(250, 248, 122)
HSLhsl(59, 93%, 73%)
HSVhsv(59, 51%, 98%)
CMYKcmyk(0%, 0.8%, 51.2%, 2%)
CIE-LABlab(95.52, -15.60, 59.96)
CIE-LCHlch(95.52, 61.96, 104.58°)
OKLaboklab(95.6% -0.0459 0.1408)
OKLCHoklch(95.6% 0.148 108.1)
XYZxyz(76.5065, 88.8659, 31.5313)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF87A #7A7CFA
analogous
#FAB87A #FAF87A #BCFA7A
triadic
#FAF87A #7AFAF8 #F87AFA
tetradic
#FAF87A #7AFAB8 #7A7CFA #FA7ABC
square
#FAF87A #7AFAB8 #7A7CFA #FA7ABC
split-complementary
#FAF87A #7ABCFA #B87AFA
monochromatic
#F1ED09 #F8F53F #FAF87A #FCFBB5 #FEFDE2

Accessibility & contrast

On white

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

On black

18.77
#FAF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF87A
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF87A#FFFFFF#000000##000000
##FAF87A1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf87a;
/* rgb */ color: rgb(250, 248, 122);
/* oklch */ color: oklch(95.6% 0.148 108.1);
Tailwind
colors: {
  custom: {
    50: '#fefaa4',
    500: '#faf87a',
    950: '#000000',
  },
}
SCSS
$custom: #faf87a;
$custom-light: #fefaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf87a",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 59.063,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95601,
    "c": 0.14809,
    "h": 108.1
  },
  "luminance": 0.88864
}

Semantic roles & 50–950 ramp

primary
#FAF87A
secondary
#4144D7
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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