#FAEC7B#FAEC7B

#FAEC7B is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.2% C 0.135 H 102.3°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FAEC7B
RGBrgb(250, 236, 123)
HSLhsl(53, 93%, 73%)
HSVhsv(53, 51%, 98%)
CMYKcmyk(0%, 5.6%, 50.8%, 2%)
CIE-LABlab(92.46, -9.63, 55.90)
CIE-LCHlch(92.46, 56.73, 99.77°)
OKLaboklab(93.17% -0.0288 0.132)
OKLCHoklch(93.17% 0.135 102.3)
XYZxyz(72.9971, 81.7474, 30.6687)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC7B #7B89FA
analogous
#FAAC7B #FAEC7B #C8FA7B
triadic
#FAEC7B #7BFAEC #EC7BFA
tetradic
#FAEC7B #7BFAAC #7B89FA #FA7BC8
square
#FAEC7B #7BFAAC #7B89FA #FA7BC8
split-complementary
#FAEC7B #7BC8FA #AC7BFA
monochromatic
#F1D809 #F8E440 #FAEC7B #FCF4B6 #FEFBE2

Accessibility & contrast

On white

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

On black

17.35
#FAEC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC7B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC7B#FFFFFF#000000##000000
##FAEC7B1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #faec7b;
/* rgb */ color: rgb(250, 236, 123);
/* oklch */ color: oklch(93.2% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#fef1a4',
    500: '#faec7b',
    950: '#000000',
  },
}
SCSS
$custom: #faec7b;
$custom-light: #fef1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faec7b",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 53.386,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9317,
    "c": 0.13514,
    "h": 102.3
  },
  "luminance": 0.81745
}

Semantic roles & 50–950 ramp

primary
#FAEC7B
secondary
#4253D7
accent
#19E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FAEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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