#FAF962#FAF962

#FAF962 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.6% C 0.169 H 108.9°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FAF962
RGBrgb(250, 249, 98)
HSLhsl(60, 94%, 68%)
HSVhsv(60, 61%, 98%)
CMYKcmyk(0%, 0.4%, 60.8%, 2%)
CIE-LABlab(95.56, -17.80, 70.30)
CIE-LCHlch(95.56, 72.52, 104.21°)
OKLaboklab(95.56% -0.0547 0.1601)
OKLCHoklch(95.56% 0.169 108.9)
XYZxyz(75.5070, 88.9593, 24.7463)
Luminance0.8896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF962 #6263FA
analogous
#FAAD62 #FAF962 #AFFA62
triadic
#FAF962 #62FAF9 #F962FA
tetradic
#FAF962 #62FAAD #6263FA #FA62AF
square
#FAF962 #62FAAD #6263FA #FA62AF
split-complementary
#FAF962 #62AFFA #AD62FA
monochromatic
#DBD907 #F8F727 #FAF962 #FCFB9D #FEFED9

Accessibility & contrast

On white

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

On black

18.79
#FAF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF962
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF962#FFFFFF#000000##000000
##FAF9621.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4F
Deuteranopia (green-blind)
#FFF56B
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf962;
/* rgb */ color: rgb(250, 249, 98);
/* oklch */ color: oklch(95.6% 0.169 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffb95',
    500: '#faf962',
    950: '#000000',
  },
}
SCSS
$custom: #faf962;
$custom-light: #fffb95;
$custom-dark: #000000;
JSON
{
  "hex": "#faf962",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 59.605,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.95561,
    "c": 0.16917,
    "h": 108.9
  },
  "luminance": 0.88957
}

Semantic roles & 50–950 ramp

primary
#FAF962
secondary
#2D2ED3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF962

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

Preview Lab → · Contrast checker → · Palette generator →

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