#FAF87D#FAF87D

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

Color values

HEX#FAF87D
RGBrgb(250, 248, 125)
HSLhsl(59, 93%, 74%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 0.8%, 50%, 2%)
CIE-LABlab(95.56, -15.35, 58.64)
CIE-LCHlch(95.56, 60.62, 104.67°)
OKLaboklab(95.64% -0.0449 0.1382)
OKLCHoklch(95.64% 0.145 108)
XYZxyz(76.6953, 88.9414, 32.5254)
Luminance0.8894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF87D #7D7FFA
analogous
#FAB97D #FAF87D #BDFA7D
triadic
#FAF87D #7DFAF8 #F87DFA
tetradic
#FAF87D #7DFAB9 #7D7FFA #FA7DBD
square
#FAF87D #7DFAB9 #7D7FFA #FA7DBD
split-complementary
#FAF87D #7DBDFA #B97DFA
monochromatic
#F3F009 #F8F542 #FAF87D #FCFBB8 #FEFDE2

Accessibility & contrast

On white

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

On black

18.79
#FAF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF87D
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF87D#FFFFFF#000000##000000
##FAF87D1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf87d;
/* rgb */ color: rgb(250, 248, 125);
/* oklch */ color: oklch(95.6% 0.145 108.0);
Tailwind
colors: {
  custom: {
    50: '#fefaa6',
    500: '#faf87d',
    950: '#000000',
  },
}
SCSS
$custom: #faf87d;
$custom-light: #fefaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf87d",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 59.04,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95636,
    "c": 0.14531,
    "h": 108
  },
  "luminance": 0.88939
}

Semantic roles & 50–950 ramp

primary
#FAF87D
secondary
#4446D7
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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