#FAE171#FAE171

#FAE171 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.135 H 97.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#FAE171
RGBrgb(250, 225, 113)
HSLhsl(49, 93%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10%, 54.8%, 2%)
CIE-LABlab(89.57, -4.93, 57.12)
CIE-LCHlch(89.57, 57.33, 94.93°)
OKLaboklab(90.84% -0.0163 0.1337)
OKLCHoklch(90.84% 0.135 97)
XYZxyz(69.3328, 75.3696, 26.5153)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE171 #718AFA
analogous
#FA9C71 #FAE171 #CEFA71
triadic
#FAE171 #71FAE1 #E171FA
tetradic
#FAE171 #71FA9C #718AFA #FA71CE
square
#FAE171 #71FA9C #718AFA #FA71CE
split-complementary
#FAE171 #71CEFA #9C71FA
monochromatic
#E8BF08 #F8D536 #FAE171 #FCEDAC #FEF9E1

Accessibility & contrast

On white

1.31
#FAE171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#FAE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE171
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE171#FFFFFF#000000##000000
##FAE1711.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fae171;
/* rgb */ color: rgb(250, 225, 113);
/* oklch */ color: oklch(90.8% 0.135 97.0);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fae171',
    950: '#000000',
  },
}
SCSS
$custom: #fae171;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fae171",
  "rgb": {
    "r": 250,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 49.051,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90839,
    "c": 0.13471,
    "h": 97
  },
  "luminance": 0.75367
}

Semantic roles & 50–950 ramp

primary
#FAE171
secondary
#3A56D5
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FAE171

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

Preview Lab → · Contrast checker → · Palette generator →

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