#FAFE7E#FAFE7E

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

Color values

HEX#FAFE7E
RGBrgb(250, 254, 126)
HSLhsl(62, 98%, 75%)
HSVhsv(62, 50%, 100%)
CMYKcmyk(1.6%, 0%, 50.4%, 0.4%)
CIE-LABlab(97.11, -18.17, 60.02)
CIE-LCHlch(97.11, 62.71, 106.84°)
OKLaboklab(96.88% -0.0529 0.1413)
OKLCHoklch(96.88% 0.151 110.5)
XYZxyz(78.6338, 92.7157, 33.4883)
Luminance0.9271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE7E #827EFE
analogous
#FEC27E #FAFE7E #BAFE7E
triadic
#FAFE7E #7EFAFE #FE7EFA
tetradic
#FAFE7E #7EFEC2 #827EFE #FE7EBA
square
#FAFE7E #7EFEC2 #827EFE #FE7EBA
split-complementary
#FAFE7E #7EBAFE #C27EFE
monochromatic
#F5FD05 #F8FE41 #FAFE7E #FCFEBB #FEFFE1

Accessibility & contrast

On white

1.07
#FAFE7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#FAFE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE7E
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE7E#FFFFFF#000000##000000
##FAFE7E1.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafe7e;
/* rgb */ color: rgb(250, 254, 126);
/* oklch */ color: oklch(96.9% 0.151 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea6',
    500: '#fafe7e',
    950: '#000000',
  },
}
SCSS
$custom: #fafe7e;
$custom-light: #fefea6;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe7e",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 126
  },
  "hsl": {
    "h": 61.875,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96879,
    "c": 0.15084,
    "h": 110.5
  },
  "luminance": 0.92714
}

Semantic roles & 50–950 ramp

primary
#FAFE7E
secondary
#4844DD
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAFE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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