#FAE871#FAE871

#FAE871 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.141 H 100.8°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#FAE871
RGBrgb(250, 232, 113)
HSLhsl(52, 93%, 71%)
HSVhsv(52, 55%, 98%)
CMYKcmyk(0%, 7.2%, 54.8%, 2%)
CIE-LABlab(91.34, -8.43, 59.17)
CIE-LCHlch(91.34, 59.77, 98.11°)
OKLaboklab(92.24% -0.0264 0.1382)
OKLCHoklch(92.24% 0.141 100.8)
XYZxyz(71.2640, 79.2322, 27.1591)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE871 #7183FA
analogous
#FAA371 #FAE871 #C7FA71
triadic
#FAE871 #71FAE8 #E871FA
tetradic
#FAE871 #71FAA3 #7183FA #FA71C7
square
#FAE871 #71FAA3 #7183FA #FA71C7
split-complementary
#FAE871 #71C7FA #A371FA
monochromatic
#E8CB08 #F8DE36 #FAE871 #FCF2AC #FEFAE1

Accessibility & contrast

On white

1.25
#FAE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#FAE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE871
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE871#FFFFFF#000000##000000
##FAE8711.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fae871;
/* rgb */ color: rgb(250, 232, 113);
/* oklch */ color: oklch(92.2% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#fae871',
    950: '#000000',
  },
}
SCSS
$custom: #fae871;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fae871",
  "rgb": {
    "r": 250,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 52.117,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92244,
    "c": 0.14066,
    "h": 100.8
  },
  "luminance": 0.79229
}

Semantic roles & 50–950 ramp

primary
#FAE871
secondary
#3A4ED5
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FAE871

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

Preview Lab → · Contrast checker → · Palette generator →

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