#FAF663#FAF663

#FAF663 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.165 H 107.7°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#FAF663
RGBrgb(250, 246, 99)
HSLhsl(58, 94%, 68%)
HSVhsv(58, 60%, 98%)
CMYKcmyk(0%, 1.6%, 60.4%, 2%)
CIE-LABlab(94.80, -16.29, 69.07)
CIE-LCHlch(94.80, 70.96, 103.27°)
OKLaboklab(94.95% -0.0503 0.1576)
OKLCHoklch(94.95% 0.165 107.7)
XYZxyz(74.6346, 87.1386, 24.6899)
Luminance0.8714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF663 #6367FA
analogous
#FAAB63 #FAF663 #B2FA63
triadic
#FAF663 #63FAF6 #F663FA
tetradic
#FAF663 #63FAAB #6367FA #FA63B2
square
#FAF663 #63FAAB #6367FA #FA63B2
split-complementary
#FAF663 #63B2FA #AB63FA
monochromatic
#DCD607 #F8F328 #FAF663 #FCF99E #FEFDDA

Accessibility & contrast

On white

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

On black

18.43
#FAF663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF663
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF663#FFFFFF#000000##000000
##FAF6631.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf663;
/* rgb */ color: rgb(250, 246, 99);
/* oklch */ color: oklch(95.0% 0.165 107.7);
Tailwind
colors: {
  custom: {
    50: '#fff895',
    500: '#faf663',
    950: '#000000',
  },
}
SCSS
$custom: #faf663;
$custom-light: #fff895;
$custom-dark: #000000;
JSON
{
  "hex": "#faf663",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 99
  },
  "hsl": {
    "h": 58.411,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94953,
    "c": 0.16545,
    "h": 107.7
  },
  "luminance": 0.87136
}

Semantic roles & 50–950 ramp

primary
#FAF663
secondary
#2E32D4
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF663

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

Preview Lab → · Contrast checker → · Palette generator →

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