#FAFD6C#FAFD6C

#FAFD6C is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.5% C 0.165 H 110.2°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FAFD6C
RGBrgb(250, 253, 108)
HSLhsl(61, 97%, 71%)
HSVhsv(61, 57%, 99%)
CMYKcmyk(1.2%, 0%, 57.3%, 0.8%)
CIE-LABlab(96.68, -19.06, 67.39)
CIE-LCHlch(96.68, 70.03, 105.80°)
OKLaboklab(96.48% -0.0572 0.1552)
OKLCHoklch(96.48% 0.165 110.2)
XYZxyz(77.2585, 91.6592, 27.8067)
Luminance0.9166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFD6C #6F6CFD
analogous
#FDB76C #FAFD6C #B2FD6C
triadic
#FAFD6C #6CFAFD #FD6CFA
tetradic
#FAFD6C #6CFDB7 #6F6CFD #FD6CB2
square
#FAFD6C #6CFDB7 #6F6CFD #FD6CB2
split-complementary
#FAFD6C #6CB2FD #B76CFD
monochromatic
#E7EB03 #F8FC30 #FAFD6C #FCFEA8 #FEFFE1

Accessibility & contrast

On white

1.09
#FAFD6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#FAFD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFD6C
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFD6C#FFFFFF#000000##000000
##FAFD6C1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF35C
Deuteranopia (green-blind)
#FFF874
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafd6c;
/* rgb */ color: rgb(250, 253, 108);
/* oklch */ color: oklch(96.5% 0.165 110.2);
Tailwind
colors: {
  custom: {
    50: '#fffd9b',
    500: '#fafd6c',
    950: '#000000',
  },
}
SCSS
$custom: #fafd6c;
$custom-light: #fffd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fafd6c",
  "rgb": {
    "r": 250,
    "g": 253,
    "b": 108
  },
  "hsl": {
    "h": 61.241,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9648,
    "c": 0.16541,
    "h": 110.2
  },
  "luminance": 0.91657
}

Semantic roles & 50–950 ramp

primary
#FAFD6C
secondary
#3835D9
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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