#FAF668#FAF668

#FAF668 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.0% C 0.162 H 107.6°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FAF668
RGBrgb(250, 246, 104)
HSLhsl(58, 94%, 69%)
HSVhsv(58, 58%, 98%)
CMYKcmyk(0%, 1.6%, 58.4%, 2%)
CIE-LABlab(94.84, -15.96, 67.04)
CIE-LCHlch(94.84, 68.91, 103.39°)
OKLaboklab(95% -0.0488 0.154)
OKLCHoklch(95% 0.162 107.6)
XYZxyz(74.8811, 87.2372, 25.9880)
Luminance0.8723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF668 #686CFA
analogous
#FAAD68 #FAF668 #B5FA68
triadic
#FAF668 #68FAF6 #F668FA
tetradic
#FAF668 #68FAAD #686CFA #FA68B5
square
#FAF668 #68FAAD #686CFA #FA68B5
split-complementary
#FAF668 #68B5FA #AD68FA
monochromatic
#E0DA07 #F8F22D #FAF668 #FCFAA3 #FEFDDE

Accessibility & contrast

On white

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

On black

18.45
#FAF668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF668
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF668#FFFFFF#000000##000000
##FAF6681.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF370
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf668;
/* rgb */ color: rgb(250, 246, 104);
/* oklch */ color: oklch(95.0% 0.162 107.6);
Tailwind
colors: {
  custom: {
    50: '#fff898',
    500: '#faf668',
    950: '#000000',
  },
}
SCSS
$custom: #faf668;
$custom-light: #fff898;
$custom-dark: #000000;
JSON
{
  "hex": "#faf668",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 58.356,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94999,
    "c": 0.16153,
    "h": 107.6
  },
  "luminance": 0.87235
}

Semantic roles & 50–950 ramp

primary
#FAF668
secondary
#3236D4
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF668

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

Preview Lab → · Contrast checker → · Palette generator →

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