#FAEC8F#FAEC8F

#FAEC8F is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.115 H 100.8°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#FAEC8F
RGBrgb(250, 236, 143)
HSLhsl(52, 91%, 77%)
HSVhsv(52, 43%, 98%)
CMYKcmyk(0%, 5.6%, 42.8%, 2%)
CIE-LABlab(92.71, -7.81, 46.68)
CIE-LCHlch(92.71, 47.33, 99.49°)
OKLaboklab(93.44% -0.0216 0.113)
OKLCHoklch(93.44% 0.115 100.8)
XYZxyz(74.3794, 82.3003, 37.9488)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC8F #8F9DFA
analogous
#FAB78F #FAEC8F #D2FA8F
triadic
#FAEC8F #8FFAEC #EC8FFA
tetradic
#FAEC8F #8FFAB7 #8F9DFA #FA8FD2
square
#FAEC8F #8FFAB7 #8F9DFA #FA8FD2
split-complementary
#FAEC8F #8FD2FA #B78FFA
monochromatic
#F5D81A #F7E254 #FAEC8F #FDF6CA #FEFAE2

Accessibility & contrast

On white

1.20
#FAEC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#FAEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC8F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC8F#FFFFFF#000000##000000
##FAEC8F1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE788
Deuteranopia (green-blind)
#FFED93
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #faec8f;
/* rgb */ color: rgb(250, 236, 143);
/* oklch */ color: oklch(93.4% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#fdf2b1',
    500: '#faec8f',
    950: '#000000',
  },
}
SCSS
$custom: #faec8f;
$custom-light: #fdf2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#faec8f",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 52.15,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93443,
    "c": 0.11508,
    "h": 100.8
  },
  "luminance": 0.82298
}

Semantic roles & 50–950 ramp

primary
#FAEC8F
secondary
#5465D9
accent
#1EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FAEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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