#FAF587#FAF587

#FAF587 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.132 H 106.4°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FAF587
RGBrgb(250, 245, 135)
HSLhsl(57, 92%, 75%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2%, 46%, 2%)
CIE-LABlab(94.90, -13.01, 53.22)
CIE-LCHlch(94.90, 54.79, 103.74°)
OKLaboklab(95.15% -0.0373 0.1271)
OKLCHoklch(95.15% 0.132 106.4)
XYZxyz(76.4516, 87.3801, 35.7557)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF587 #878CFA
analogous
#FABB87 #FAF587 #C6FA87
triadic
#FAF587 #87FAF5 #F587FA
tetradic
#FAF587 #87FABB #878CFA #FA87C6
square
#FAF587 #87FABB #878CFA #FA87C6
split-complementary
#FAF587 #87C6FA #BB87FA
monochromatic
#F5EB11 #F8F04C #FAF587 #FCFAC2 #FEFDE2

Accessibility & contrast

On white

1.14
#FAF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#FAF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF587
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF587#FFFFFF#000000##000000
##FAF5871.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7E
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf587;
/* rgb */ color: rgb(250, 245, 135);
/* oklch */ color: oklch(95.2% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef8ac',
    500: '#faf587',
    950: '#000000',
  },
}
SCSS
$custom: #faf587;
$custom-light: #fef8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#faf587",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 57.391,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.9515,
    "c": 0.13248,
    "h": 106.4
  },
  "luminance": 0.87378
}

Semantic roles & 50–950 ramp

primary
#FAF587
secondary
#4D53D8
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF587

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

Preview Lab → · Contrast checker → · Palette generator →

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