#FAEF8F#FAEF8F

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

Color values

HEX#FAEF8F
RGBrgb(250, 239, 143)
HSLhsl(54, 91%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4.4%, 42.8%, 2%)
CIE-LABlab(93.47, -9.30, 47.63)
CIE-LCHlch(93.47, 48.53, 101.04°)
OKLaboklab(94.05% -0.0259 0.1152)
OKLCHoklch(94.05% 0.118 102.7)
XYZxyz(75.2504, 84.0423, 38.2391)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8F #8F9AFA
analogous
#FABA8F #FAEF8F #CFFA8F
triadic
#FAEF8F #8FFAEF #EF8FFA
tetradic
#FAEF8F #8FFABA #8F9AFA #FA8FCF
square
#FAEF8F #8FFABA #8F9AFA #FA8FCF
split-complementary
#FAEF8F #8FCFFA #BA8FFA
monochromatic
#F5DE1A #F7E754 #FAEF8F #FDF7CA #FEFBE2

Accessibility & contrast

On white

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

On black

17.81
#FAEF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8F
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8F#FFFFFF#000000##000000
##FAEF8F1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef8f;
/* rgb */ color: rgb(250, 239, 143);
/* oklch */ color: oklch(94.0% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#fdf4b1',
    500: '#faef8f',
    950: '#000000',
  },
}
SCSS
$custom: #faef8f;
$custom-light: #fdf4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8f",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 53.832,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94047,
    "c": 0.11806,
    "h": 102.7
  },
  "luminance": 0.8404
}

Semantic roles & 50–950 ramp

primary
#FAEF8F
secondary
#5462D9
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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