#FAEF8E#FAEF8E

#FAEF8E is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.119 H 102.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FAEF8E
RGBrgb(250, 239, 142)
HSLhsl(54, 92%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4.4%, 43.2%, 2%)
CIE-LABlab(93.46, -9.40, 48.10)
CIE-LCHlch(93.46, 49.01, 101.05°)
OKLaboklab(94.03% -0.0263 0.1162)
OKLCHoklch(94.03% 0.119 102.7)
XYZxyz(75.1750, 84.0122, 37.8419)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8E #8E99FA
analogous
#FAB98E #FAEF8E #CFFA8E
triadic
#FAEF8E #8EFAEF #EF8EFA
tetradic
#FAEF8E #8EFAB9 #8E99FA #FA8ECF
square
#FAEF8E #8EFAB9 #8E99FA #FA8ECF
split-complementary
#FAEF8E #8ECFFA #B98EFA
monochromatic
#F5DE19 #F7E753 #FAEF8E #FDF7C9 #FEFBE2

Accessibility & contrast

On white

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

On black

17.80
#FAEF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8E
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8E#FFFFFF#000000##000000
##FAEF8E1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE986
Deuteranopia (green-blind)
#FFEF92
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef8e;
/* rgb */ color: rgb(250, 239, 142);
/* oklch */ color: oklch(94.0% 0.119 102.7);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#faef8e',
    950: '#000000',
  },
}
SCSS
$custom: #faef8e;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8e",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 53.889,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94032,
    "c": 0.1191,
    "h": 102.7
  },
  "luminance": 0.8401
}

Semantic roles & 50–950 ramp

primary
#FAEF8E
secondary
#5361D9
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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