#FAFE7B#FAFE7B

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

Color values

HEX#FAFE7B
RGBrgb(250, 254, 123)
HSLhsl(62, 98%, 74%)
HSVhsv(62, 52%, 100%)
CMYKcmyk(1.6%, 0%, 51.6%, 0.4%)
CIE-LABlab(97.08, -18.42, 61.33)
CIE-LCHlch(97.08, 64.03, 106.71°)
OKLaboklab(96.85% -0.0539 0.1438)
OKLCHoklch(96.85% 0.154 110.5)
XYZxyz(78.4431, 92.6394, 32.4840)
Luminance0.9264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE7B #7F7BFE
analogous
#FEC17B #FAFE7B #B9FE7B
triadic
#FAFE7B #7BFAFE #FE7BFA
tetradic
#FAFE7B #7BFEC1 #7F7BFE #FE7BB9
square
#FAFE7B #7BFEC1 #7F7BFE #FE7BB9
split-complementary
#FAFE7B #7BB9FE #C17BFE
monochromatic
#F5FD02 #F8FE3E #FAFE7B #FCFEB8 #FEFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFE7B#FFFFFF#000000##000000
##FAFE7B1.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)
#FFF46E
Deuteranopia (green-blind)
#FFF982
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe7b;
/* rgb */ color: rgb(250, 254, 123);
/* oklch */ color: oklch(96.8% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea5',
    500: '#fafe7b',
    950: '#000000',
  },
}
SCSS
$custom: #fafe7b;
$custom-light: #fefea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe7b",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 61.832,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.96845,
    "c": 0.15359,
    "h": 110.5
  },
  "luminance": 0.92638
}

Semantic roles & 50–950 ramp

primary
#FAFE7B
secondary
#4641DC
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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