#FAF968#FAF968

#FAF968 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.165 H 108.8°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FAF968
RGBrgb(250, 249, 104)
HSLhsl(60, 94%, 69%)
HSVhsv(60, 58%, 98%)
CMYKcmyk(0%, 0.4%, 58.4%, 2%)
CIE-LABlab(95.61, -17.41, 67.89)
CIE-LCHlch(95.61, 70.09, 104.38°)
OKLaboklab(95.62% -0.0529 0.1558)
OKLCHoklch(95.62% 0.165 108.8)
XYZxyz(75.8010, 89.0769, 26.2946)
Luminance0.8908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF968 #6869FA
analogous
#FAB068 #FAF968 #B2FA68
triadic
#FAF968 #68FAF9 #F968FA
tetradic
#FAF968 #68FAB0 #6869FA #FA68B2
square
#FAF968 #68FAB0 #6869FA #FA68B2
split-complementary
#FAF968 #68B2FA #B068FA
monochromatic
#E0DF07 #F8F72D #FAF968 #FCFBA3 #FEFEDE

Accessibility & contrast

On white

1.12
#FAF968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#FAF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF968
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF968#FFFFFF#000000##000000
##FAF9681.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF570
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf968;
/* rgb */ color: rgb(250, 249, 104);
/* oklch */ color: oklch(95.6% 0.165 108.8);
Tailwind
colors: {
  custom: {
    50: '#fffb98',
    500: '#faf968',
    950: '#000000',
  },
}
SCSS
$custom: #faf968;
$custom-light: #fffb98;
$custom-dark: #000000;
JSON
{
  "hex": "#faf968",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 59.589,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95616,
    "c": 0.16452,
    "h": 108.8
  },
  "luminance": 0.89075
}

Semantic roles & 50–950 ramp

primary
#FAF968
secondary
#3233D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF968

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

Preview Lab → · Contrast checker → · Palette generator →

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