#FAFE6C#FAFE6C

#FAFE6C is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.7% C 0.166 H 110.6°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FAFE6C
RGBrgb(250, 254, 108)
HSLhsl(62, 99%, 71%)
HSVhsv(62, 57%, 100%)
CMYKcmyk(1.6%, 0%, 57.5%, 0.4%)
CIE-LABlab(96.94, -19.54, 67.67)
CIE-LCHlch(96.94, 70.44, 106.11°)
OKLaboklab(96.69% -0.0586 0.1558)
OKLCHoklch(96.69% 0.166 110.6)
XYZxyz(77.5750, 92.2922, 27.9122)
Luminance0.9229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE6C #706CFE
analogous
#FEB96C #FAFE6C #B1FE6C
triadic
#FAFE6C #6CFAFE #FE6CFA
tetradic
#FAFE6C #6CFEB9 #706CFE #FE6CB1
square
#FAFE6C #6CFEB9 #706CFE #FE6CB1
split-complementary
#FAFE6C #6CB1FE #B96CFE
monochromatic
#E8EE02 #F8FE2F #FAFE6C #FCFEA9 #FEFFE1

Accessibility & contrast

On white

1.08
#FAFE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#FAFE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE6C
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE6C#FFFFFF#000000##000000
##FAFE6C1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF45C
Deuteranopia (green-blind)
#FFF875
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe6c;
/* rgb */ color: rgb(250, 254, 108);
/* oklch */ color: oklch(96.7% 0.166 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe9b',
    500: '#fafe6c',
    950: '#000000',
  },
}
SCSS
$custom: #fafe6c;
$custom-light: #fffe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe6c",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 108
  },
  "hsl": {
    "h": 61.644,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.96686,
    "c": 0.16645,
    "h": 110.6
  },
  "luminance": 0.9229
}

Semantic roles & 50–950 ramp

primary
#FAFE6C
secondary
#3934DA
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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