#FAF17A#FAF17A

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

Color values

HEX#FAF17A
RGBrgb(250, 241, 122)
HSLhsl(56, 93%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.6%, 51.2%, 2%)
CIE-LABlab(93.73, -12.18, 57.86)
CIE-LCHlch(93.73, 59.13, 101.88°)
OKLaboklab(94.17% -0.0362 0.1362)
OKLCHoklch(94.17% 0.141 104.9)
XYZxyz(74.3946, 84.6420, 30.8273)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF17A #7A83FA
analogous
#FAB17A #FAF17A #C3FA7A
triadic
#FAF17A #7AFAF1 #F17AFA
tetradic
#FAF17A #7AFAB1 #7A83FA #FA7AC3
square
#FAF17A #7AFAB1 #7A83FA #FA7AC3
split-complementary
#FAF17A #7AC3FA #B17AFA
monochromatic
#F1E009 #F8EB3F #FAF17A #FCF7B5 #FEFCE2

Accessibility & contrast

On white

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

On black

17.93
#FAF17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF17A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF17A#FFFFFF#000000##000000
##FAF17A1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf17a;
/* rgb */ color: rgb(250, 241, 122);
/* oklch */ color: oklch(94.2% 0.141 104.9);
Tailwind
colors: {
  custom: {
    50: '#fef5a3',
    500: '#faf17a',
    950: '#000000',
  },
}
SCSS
$custom: #faf17a;
$custom-light: #fef5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf17a",
  "rgb": {
    "r": 250,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 55.781,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94172,
    "c": 0.14093,
    "h": 104.9
  },
  "luminance": 0.8464
}

Semantic roles & 50–950 ramp

primary
#FAF17A
secondary
#414CD7
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF17A

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

Preview Lab → · Contrast checker → · Palette generator →

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