#FAF588#FAF588

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

Color values

HEX#FAF588
RGBrgb(250, 245, 136)
HSLhsl(57, 92%, 76%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2%, 45.6%, 2%)
CIE-LABlab(94.91, -12.92, 52.77)
CIE-LCHlch(94.91, 54.33, 103.76°)
OKLaboklab(95.16% -0.0369 0.1262)
OKLCHoklch(95.16% 0.131 106.3)
XYZxyz(76.5224, 87.4084, 36.1283)
Luminance0.8741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF588 #888DFA
analogous
#FABC88 #FAF588 #C6FA88
triadic
#FAF588 #88FAF5 #F588FA
tetradic
#FAF588 #88FABC #888DFA #FA88C6
square
#FAF588 #88FABC #888DFA #FA88C6
split-complementary
#FAF588 #88C6FA #BC88FA
monochromatic
#F5EB13 #F8F04D #FAF588 #FCFAC3 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF588#FFFFFF#000000##000000
##FAF5881.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)
#FFEE7F
Deuteranopia (green-blind)
#FFF38D
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf588;
/* rgb */ color: rgb(250, 245, 136);
/* oklch */ color: oklch(95.2% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#fef8ad',
    500: '#faf588',
    950: '#000000',
  },
}
SCSS
$custom: #faf588;
$custom-light: #fef8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#faf588",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 57.368,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95163,
    "c": 0.13148,
    "h": 106.3
  },
  "luminance": 0.87406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF588

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

Preview Lab → · Contrast checker → · Palette generator →

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