#FAE787#FAE787

#FAE787 is a very light, moderate yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.119 H 98.4°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#FAE787
RGBrgb(250, 231, 135)
HSLhsl(50, 92%, 75%)
HSVhsv(50, 46%, 98%)
CMYKcmyk(0%, 7.6%, 46%, 2%)
CIE-LABlab(91.34, -6.08, 48.85)
CIE-LCHlch(91.34, 49.23, 97.09°)
OKLaboklab(92.32% -0.0173 0.1174)
OKLCHoklch(92.32% 0.119 98.4)
XYZxyz(72.3754, 79.2276, 34.3970)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE787 #879AFA
analogous
#FAAD87 #FAE787 #D3FA87
triadic
#FAE787 #87FAE7 #E787FA
tetradic
#FAE787 #87FAAD #879AFA #FA87D3
square
#FAE787 #87FAAD #879AFA #FA87D3
split-complementary
#FAE787 #87D3FA #AD87FA
monochromatic
#F5CF11 #F8DB4C #FAE787 #FCF3C2 #FEF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAE787#FFFFFF#000000##000000
##FAE7871.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)
#F8E27F
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fae787;
/* rgb */ color: rgb(250, 231, 135);
/* oklch */ color: oklch(92.3% 0.119 98.4);
Tailwind
colors: {
  custom: {
    50: '#feeeab',
    500: '#fae787',
    950: '#000000',
  },
}
SCSS
$custom: #fae787;
$custom-light: #feeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#fae787",
  "rgb": {
    "r": 250,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 50.087,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92324,
    "c": 0.11868,
    "h": 98.4
  },
  "luminance": 0.79225
}

Semantic roles & 50–950 ramp

primary
#FAE787
secondary
#4D64D8
accent
#26E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FAE787

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

Preview Lab → · Contrast checker → · Palette generator →

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