#FAF168#FAF168

#FAF168 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.157 H 105.5°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#FAF168
RGBrgb(250, 241, 104)
HSLhsl(56, 94%, 69%)
HSVhsv(56, 58%, 98%)
CMYKcmyk(0%, 3.6%, 58.4%, 2%)
CIE-LABlab(93.55, -13.52, 65.62)
CIE-LCHlch(93.55, 67.00, 101.64°)
OKLaboklab(93.98% -0.0419 0.151)
OKLCHoklch(93.98% 0.157 105.5)
XYZxyz(73.3808, 84.2365, 25.4879)
Luminance0.8423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF168 #6871FA
analogous
#FAA868 #FAF168 #BAFA68
triadic
#FAF168 #68FAF1 #F168FA
tetradic
#FAF168 #68FAA8 #6871FA #FA68BA
square
#FAF168 #68FAA8 #6871FA #FA68BA
split-complementary
#FAF168 #68BAFA #A868FA
monochromatic
#E0D307 #F8EC2D #FAF168 #FCF6A3 #FEFCDE

Accessibility & contrast

On white

1.18
#FAF168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#FAF168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF168
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF168#FFFFFF#000000##000000
##FAF1681.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE959
Deuteranopia (green-blind)
#FFEF70
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf168;
/* rgb */ color: rgb(250, 241, 104);
/* oklch */ color: oklch(94.0% 0.157 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff598',
    500: '#faf168',
    950: '#000000',
  },
}
SCSS
$custom: #faf168;
$custom-light: #fff598;
$custom-dark: #000000;
JSON
{
  "hex": "#faf168",
  "rgb": {
    "r": 250,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 56.301,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93976,
    "c": 0.15667,
    "h": 105.5
  },
  "luminance": 0.84234
}

Semantic roles & 50–950 ramp

primary
#FAF168
secondary
#323CD4
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF168

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

Preview Lab → · Contrast checker → · Palette generator →

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