#FAF666#FAF666

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

Color values

HEX#FAF666
RGBrgb(250, 246, 102)
HSLhsl(58, 94%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 1.6%, 59.2%, 2%)
CIE-LABlab(94.82, -16.09, 67.86)
CIE-LCHlch(94.82, 69.74, 103.34°)
OKLaboklab(94.98% -0.0494 0.1555)
OKLCHoklch(94.98% 0.163 107.6)
XYZxyz(74.7807, 87.1971, 25.4593)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF666 #666AFA
analogous
#FAAC66 #FAF666 #B4FA66
triadic
#FAF666 #66FAF6 #F666FA
tetradic
#FAF666 #66FAAC #666AFA #FA66B4
square
#FAF666 #66FAAC #666AFA #FA66B4
split-complementary
#FAF666 #66B4FA #AC66FA
monochromatic
#DED907 #F8F32B #FAF666 #FCF9A1 #FEFDDD

Accessibility & contrast

On white

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

On black

18.44
#FAF666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF666
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF666#FFFFFF#000000##000000
##FAF6661.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF36E
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf666;
/* rgb */ color: rgb(250, 246, 102);
/* oklch */ color: oklch(95.0% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#fff897',
    500: '#faf666',
    950: '#000000',
  },
}
SCSS
$custom: #faf666;
$custom-light: #fff897;
$custom-dark: #000000;
JSON
{
  "hex": "#faf666",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 58.378,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9498,
    "c": 0.16312,
    "h": 107.6
  },
  "luminance": 0.87195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF666

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

Preview Lab → · Contrast checker → · Palette generator →

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