#FAFE74#FAFE74

#FAFE74 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.160 H 110.6°. Best body text is #000000 at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#FAFE74
RGBrgb(250, 254, 116)
HSLhsl(62, 99%, 73%)
HSVhsv(62, 54%, 100%)
CMYKcmyk(1.6%, 0%, 54.3%, 0.4%)
CIE-LABlab(97.01, -18.96, 64.33)
CIE-LCHlch(97.01, 67.07, 106.42°)
OKLaboklab(96.77% -0.0561 0.1496)
OKLCHoklch(96.77% 0.16 110.6)
XYZxyz(78.0205, 92.4704, 30.2582)
Luminance0.9247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE74 #7874FE
analogous
#FEBD74 #FAFE74 #B5FE74
triadic
#FAFE74 #74FAFE #FE74FA
tetradic
#FAFE74 #74FEBD #7874FE #FE74B5
square
#FAFE74 #74FEBD #7874FE #FE74B5
split-complementary
#FAFE74 #74B5FE #BD74FE
monochromatic
#EFF602 #F8FE37 #FAFE74 #FCFEB1 #FEFFE1

Accessibility & contrast

On white

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

On black

19.49
#FAFE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE74
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE74#FFFFFF#000000##000000
##FAFE741.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF466
Deuteranopia (green-blind)
#FFF87C
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe74;
/* rgb */ color: rgb(250, 254, 116);
/* oklch */ color: oklch(96.8% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#fefea0',
    500: '#fafe74',
    950: '#000000',
  },
}
SCSS
$custom: #fafe74;
$custom-light: #fefea0;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe74",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 116
  },
  "hsl": {
    "h": 61.739,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96767,
    "c": 0.15977,
    "h": 110.6
  },
  "luminance": 0.92469
}

Semantic roles & 50–950 ramp

primary
#FAFE74
secondary
#403BDB
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE74

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

Preview Lab → · Contrast checker → · Palette generator →

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