#FAFE6F#FAFE6F

#FAFE6F is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.7% C 0.164 H 110.6°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FAFE6F
RGBrgb(250, 254, 111)
HSLhsl(62, 99%, 72%)
HSVhsv(62, 56%, 100%)
CMYKcmyk(1.6%, 0%, 56.3%, 0.4%)
CIE-LABlab(96.97, -19.33, 66.43)
CIE-LCHlch(96.97, 69.19, 106.22°)
OKLaboklab(96.72% -0.0577 0.1535)
OKLCHoklch(96.72% 0.164 110.6)
XYZxyz(77.7374, 92.3571, 28.7675)
Luminance0.9235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE6F #736FFE
analogous
#FEBB6F #FAFE6F #B3FE6F
triadic
#FAFE6F #6FFAFE #FE6FFA
tetradic
#FAFE6F #6FFEBB #736FFE #FE6FB3
square
#FAFE6F #6FFEBB #736FFE #FE6FB3
split-complementary
#FAFE6F #6FB3FE #BB6FFE
monochromatic
#EAF102 #F8FE32 #FAFE6F #FCFEAC #FEFFE1

Accessibility & contrast

On white

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

On black

19.47
#FAFE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE6F
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE6F#FFFFFF#000000##000000
##FAFE6F1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF460
Deuteranopia (green-blind)
#FFF877
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe6f;
/* rgb */ color: rgb(250, 254, 111);
/* oklch */ color: oklch(96.7% 0.164 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe9d',
    500: '#fafe6f',
    950: '#000000',
  },
}
SCSS
$custom: #fafe6f;
$custom-light: #fffe9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe6f",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 111
  },
  "hsl": {
    "h": 61.678,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.96716,
    "c": 0.16399,
    "h": 110.6
  },
  "luminance": 0.92355
}

Semantic roles & 50–950 ramp

primary
#FAFE6F
secondary
#3B37DA
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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