#FAF08D#FAF08D

#FAF08D is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.121 H 103.4°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#FAF08D
RGBrgb(250, 240, 141)
HSLhsl(54, 92%, 77%)
HSVhsv(54, 44%, 98%)
CMYKcmyk(0%, 4%, 43.6%, 2%)
CIE-LABlab(93.70, -9.99, 48.88)
CIE-LCHlch(93.70, 49.89, 101.55°)
OKLaboklab(94.22% -0.0281 0.1179)
OKLCHoklch(94.22% 0.121 103.4)
XYZxyz(75.3938, 84.5694, 37.5462)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF08D #8D97FA
analogous
#FABA8D #FAF08D #CEFA8D
triadic
#FAF08D #8DFAF0 #F08DFA
tetradic
#FAF08D #8DFABA #8D97FA #FA8DCE
square
#FAF08D #8DFABA #8D97FA #FA8DCE
split-complementary
#FAF08D #8DCEFA #BA8DFA
monochromatic
#F5E118 #F7E852 #FAF08D #FDF8C8 #FEFBE2

Accessibility & contrast

On white

1.17
#FAF08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#FAF08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF08D
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF08D#FFFFFF#000000##000000
##FAF08D1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFEF91
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf08d;
/* rgb */ color: rgb(250, 240, 141);
/* oklch */ color: oklch(94.2% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#faf08d',
    950: '#000000',
  },
}
SCSS
$custom: #faf08d;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf08d",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 141
  },
  "hsl": {
    "h": 54.495,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94219,
    "c": 0.12116,
    "h": 103.4
  },
  "luminance": 0.84567
}

Semantic roles & 50–950 ramp

primary
#FAF08D
secondary
#525ED9
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAF08D

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

Preview Lab → · Contrast checker → · Palette generator →

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