#FAFE5D#FAFE5D

#FAFE5D is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.6% C 0.178 H 110.7°. Best body text is #000000 at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#FAFE5D
RGBrgb(250, 254, 93)
HSLhsl(61, 99%, 68%)
HSVhsv(61, 63%, 100%)
CMYKcmyk(1.6%, 0%, 63.4%, 0.4%)
CIE-LABlab(96.82, -20.50, 73.60)
CIE-LCHlch(96.82, 76.40, 105.56°)
OKLaboklab(96.55% -0.0628 0.1664)
OKLCHoklch(96.55% 0.178 110.7)
XYZxyz(76.8443, 91.9999, 24.0636)
Luminance0.9200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE5D #615DFE
analogous
#FEB25D #FAFE5D #A9FE5D
triadic
#FAFE5D #5DFAFE #FE5DFA
tetradic
#FAFE5D #5DFEB2 #615DFE #FE5DA9
square
#FAFE5D #5DFEB2 #615DFE #FE5DA9
split-complementary
#FAFE5D #5DA9FE #B25DFE
monochromatic
#DADF01 #F8FE20 #FAFE5D #FCFE9A #FEFFD7

Accessibility & contrast

On white

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

On black

19.40
#FAFE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE5D
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE5D#FFFFFF#000000##000000
##FAFE5D1.001.0819.4019.40
#FFFFFF1.081.0021.0021.00
#00000019.4021.001.001.00
##00000019.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF347
Deuteranopia (green-blind)
#FFF868
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe5d;
/* rgb */ color: rgb(250, 254, 93);
/* oklch */ color: oklch(96.6% 0.178 110.7);
Tailwind
colors: {
  custom: {
    50: '#fffe92',
    500: '#fafe5d',
    950: '#000000',
  },
}
SCSS
$custom: #fafe5d;
$custom-light: #fffe92;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe5d",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 93
  },
  "hsl": {
    "h": 61.491,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96553,
    "c": 0.17781,
    "h": 110.7
  },
  "luminance": 0.91998
}

Semantic roles & 50–950 ramp

primary
#FAFE5D
secondary
#2C28D8
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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