#FAF98D#FAF98D

#FAF98D is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.131 H 108.2°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#FAF98D
RGBrgb(250, 249, 141)
HSLhsl(59, 92%, 77%)
HSVhsv(59, 44%, 98%)
CMYKcmyk(0%, 0.4%, 43.6%, 2%)
CIE-LABlab(96.00, -14.41, 51.73)
CIE-LCHlch(96.00, 53.70, 105.56°)
OKLaboklab(96.05% -0.0407 0.1242)
OKLCHoklch(96.05% 0.131 108.2)
XYZxyz(78.1092, 90.0002, 38.4513)
Luminance0.9000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF98D #8D8EFA
analogous
#FAC38D #FAF98D #C5FA8D
triadic
#FAF98D #8DFAF9 #F98DFA
tetradic
#FAF98D #8DFAC3 #8D8EFA #FA8DC5
square
#FAF98D #8DFAC3 #8D8EFA #FA8DC5
split-complementary
#FAF98D #8DC5FA #C38DFA
monochromatic
#F5F318 #F7F652 #FAF98D #FDFCC8 #FEFDE2

Accessibility & contrast

On white

1.11
#FAF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.00
#FAF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF98D
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF98D#FFFFFF#000000##000000
##FAF98D1.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf98d;
/* rgb */ color: rgb(250, 249, 141);
/* oklch */ color: oklch(96.0% 0.131 108.2);
Tailwind
colors: {
  custom: {
    50: '#fefbb0',
    500: '#faf98d',
    950: '#000000',
  },
}
SCSS
$custom: #faf98d;
$custom-light: #fefbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf98d",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 59.45,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96046,
    "c": 0.13074,
    "h": 108.2
  },
  "luminance": 0.89998
}

Semantic roles & 50–950 ramp

primary
#FAF98D
secondary
#5253D9
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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