#FAEF87#FAEF87

#FAEF87 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.126 H 103.2°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FAEF87
RGBrgb(250, 239, 135)
HSLhsl(54, 92%, 75%)
HSVhsv(54, 46%, 98%)
CMYKcmyk(0%, 4.4%, 46%, 2%)
CIE-LABlab(93.37, -10.06, 51.35)
CIE-LCHlch(93.37, 52.33, 101.08°)
OKLaboklab(93.93% -0.0288 0.123)
OKLCHoklch(93.93% 0.126 103.2)
XYZxyz(74.6658, 83.8085, 35.1605)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF87 #8792FA
analogous
#FAB587 #FAEF87 #CBFA87
triadic
#FAEF87 #87FAEF #EF87FA
tetradic
#FAEF87 #87FAB5 #8792FA #FA87CB
square
#FAEF87 #87FAB5 #8792FA #FA87CB
split-complementary
#FAEF87 #87CBFA #B587FA
monochromatic
#F5DF11 #F8E74C #FAEF87 #FCF7C2 #FEFBE2

Accessibility & contrast

On white

1.18
#FAEF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#FAEF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF87
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF87#FFFFFF#000000##000000
##FAEF871.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FFEF8C
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef87;
/* rgb */ color: rgb(250, 239, 135);
/* oklch */ color: oklch(93.9% 0.126 103.2);
Tailwind
colors: {
  custom: {
    50: '#fef4ac',
    500: '#faef87',
    950: '#000000',
  },
}
SCSS
$custom: #faef87;
$custom-light: #fef4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#faef87",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 54.261,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93933,
    "c": 0.1263,
    "h": 103.2
  },
  "luminance": 0.83806
}

Semantic roles & 50–950 ramp

primary
#FAEF87
secondary
#4D5AD8
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAEF87

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

Preview Lab → · Contrast checker → · Palette generator →

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