#FAE371#FAE371

#FAE371 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.136 H 98.1°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#FAE371
RGBrgb(250, 227, 113)
HSLhsl(50, 93%, 71%)
HSVhsv(50, 55%, 98%)
CMYKcmyk(0%, 9.2%, 54.8%, 2%)
CIE-LABlab(90.07, -5.94, 57.70)
CIE-LCHlch(90.07, 58.01, 95.87°)
OKLaboklab(91.24% -0.0192 0.135)
OKLCHoklch(91.24% 0.136 98.1)
XYZxyz(69.8766, 76.4573, 26.6966)
Luminance0.7645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE371 #7188FA
analogous
#FA9E71 #FAE371 #CCFA71
triadic
#FAE371 #71FAE3 #E371FA
tetradic
#FAE371 #71FA9E #7188FA #FA71CC
square
#FAE371 #71FA9E #7188FA #FA71CC
split-complementary
#FAE371 #71CCFA #9E71FA
monochromatic
#E8C308 #F8D736 #FAE371 #FCEFAC #FEF9E1

Accessibility & contrast

On white

1.29
#FAE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#FAE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE371
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE371#FFFFFF#000000##000000
##FAE3711.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fae371;
/* rgb */ color: rgb(250, 227, 113);
/* oklch */ color: oklch(91.2% 0.136 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffeb9d',
    500: '#fae371',
    950: '#000000',
  },
}
SCSS
$custom: #fae371;
$custom-light: #ffeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fae371",
  "rgb": {
    "r": 250,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 49.927,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91239,
    "c": 0.13635,
    "h": 98.1
  },
  "luminance": 0.76454
}

Semantic roles & 50–950 ramp

primary
#FAE371
secondary
#3A54D5
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FAE371

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

Preview Lab → · Contrast checker → · Palette generator →

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