#FAEC87#FAEC87

#FAEC87 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.123 H 101.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#FAEC87
RGBrgb(250, 236, 135)
HSLhsl(53, 92%, 75%)
HSVhsv(53, 46%, 98%)
CMYKcmyk(0%, 5.6%, 46%, 2%)
CIE-LABlab(92.60, -8.57, 50.41)
CIE-LCHlch(92.60, 51.14, 99.65°)
OKLaboklab(93.33% -0.0245 0.1209)
OKLCHoklch(93.33% 0.123 101.5)
XYZxyz(73.7948, 82.0665, 34.8702)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC87 #8795FA
analogous
#FAB387 #FAEC87 #CEFA87
triadic
#FAEC87 #87FAEC #EC87FA
tetradic
#FAEC87 #87FAB3 #8795FA #FA87CE
square
#FAEC87 #87FAB3 #8795FA #FA87CE
split-complementary
#FAEC87 #87CEFA #B387FA
monochromatic
#F5D911 #F8E34C #FAEC87 #FCF5C2 #FEFAE2

Accessibility & contrast

On white

1.21
#FAEC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#FAEC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC87
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC87#FFFFFF#000000##000000
##FAEC871.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE67F
Deuteranopia (green-blind)
#FFED8B
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #faec87;
/* rgb */ color: rgb(250, 236, 135);
/* oklch */ color: oklch(93.3% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#fef2ac',
    500: '#faec87',
    950: '#000000',
  },
}
SCSS
$custom: #faec87;
$custom-light: #fef2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#faec87",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 135
  },
  "hsl": {
    "h": 52.696,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93328,
    "c": 0.12335,
    "h": 101.5
  },
  "luminance": 0.82064
}

Semantic roles & 50–950 ramp

primary
#FAEC87
secondary
#4D5ED8
accent
#1CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FAEC87

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

Preview Lab → · Contrast checker → · Palette generator →

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