#FAFE7C#FAFE7C

#FAFE7C is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 96.9% C 0.153 H 110.5°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FAFE7C
RGBrgb(250, 254, 124)
HSLhsl(62, 98%, 74%)
HSVhsv(62, 51%, 100%)
CMYKcmyk(1.6%, 0%, 51.2%, 0.4%)
CIE-LABlab(97.09, -18.33, 60.89)
CIE-LCHlch(97.09, 63.59, 106.76°)
OKLaboklab(96.86% -0.0535 0.143)
OKLCHoklch(96.86% 0.153 110.5)
XYZxyz(78.5060, 92.6646, 32.8154)
Luminance0.9266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE7C #807CFE
analogous
#FEC17C #FAFE7C #B9FE7C
triadic
#FAFE7C #7CFAFE #FE7CFA
tetradic
#FAFE7C #7CFEC1 #807CFE #FE7CB9
square
#FAFE7C #7CFEC1 #807CFE #FE7CB9
split-complementary
#FAFE7C #7CB9FE #C17CFE
monochromatic
#F5FD03 #F8FE3F #FAFE7C #FCFEB9 #FEFFE1

Accessibility & contrast

On white

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

On black

19.53
#FAFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE7C
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE7C#FFFFFF#000000##000000
##FAFE7C1.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF470
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe7c;
/* rgb */ color: rgb(250, 254, 124);
/* oklch */ color: oklch(96.9% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea5',
    500: '#fafe7c',
    950: '#000000',
  },
}
SCSS
$custom: #fafe7c;
$custom-light: #fefea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe7c",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 61.846,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96856,
    "c": 0.15268,
    "h": 110.5
  },
  "luminance": 0.92663
}

Semantic roles & 50–950 ramp

primary
#FAFE7C
secondary
#4742DC
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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