#FAF488#FAF488

#FAF488 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.130 H 105.8°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FAF488
RGBrgb(250, 244, 136)
HSLhsl(57, 92%, 76%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2.4%, 45.6%, 2%)
CIE-LABlab(94.66, -12.43, 52.45)
CIE-LCHlch(94.66, 53.91, 103.33°)
OKLaboklab(94.96% -0.0355 0.1255)
OKLCHoklch(94.96% 0.13 105.8)
XYZxyz(76.2206, 86.8050, 36.0277)
Luminance0.8680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF488 #888EFA
analogous
#FABB88 #FAF488 #C7FA88
triadic
#FAF488 #88FAF4 #F488FA
tetradic
#FAF488 #88FABB #888EFA #FA88C7
square
#FAF488 #88FABB #888EFA #FA88C7
split-complementary
#FAF488 #88C7FA #BB88FA
monochromatic
#F5E913 #F8EF4D #FAF488 #FCF9C3 #FEFCE2

Accessibility & contrast

On white

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

On black

18.36
#FAF488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF488
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF488#FFFFFF#000000##000000
##FAF4881.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf488;
/* rgb */ color: rgb(250, 244, 136);
/* oklch */ color: oklch(95.0% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#fef7ad',
    500: '#faf488',
    950: '#000000',
  },
}
SCSS
$custom: #faf488;
$custom-light: #fef7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#faf488",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 56.842,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9496,
    "c": 0.13043,
    "h": 105.8
  },
  "luminance": 0.86803
}

Semantic roles & 50–950 ramp

primary
#FAF488
secondary
#4E55D9
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF488

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

Preview Lab → · Contrast checker → · Palette generator →

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