#FAEC7C#FAEC7C

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

Color values

HEX#FAEC7C
RGBrgb(250, 236, 124)
HSLhsl(53, 93%, 73%)
HSVhsv(53, 50%, 98%)
CMYKcmyk(0%, 5.6%, 50.4%, 2%)
CIE-LABlab(92.47, -9.54, 55.45)
CIE-LCHlch(92.47, 56.27, 99.76°)
OKLaboklab(93.18% -0.0284 0.1311)
OKLCHoklch(93.18% 0.134 102.2)
XYZxyz(73.0600, 81.7726, 31.0001)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC7C #7C8AFA
analogous
#FAAD7C #FAEC7C #C9FA7C
triadic
#FAEC7C #7CFAEC #EC7CFA
tetradic
#FAEC7C #7CFAAD #7C8AFA #FA7CC9
square
#FAEC7C #7CFAAD #7C8AFA #FA7CC9
split-complementary
#FAEC7C #7CC9FA #AD7CFA
monochromatic
#F2D809 #F8E341 #FAEC7C #FCF5B7 #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAEC7C#FFFFFF#000000##000000
##FAEC7C1.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)
#FEE672
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #faec7c;
/* rgb */ color: rgb(250, 236, 124);
/* oklch */ color: oklch(93.2% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#fef1a4',
    500: '#faec7c',
    950: '#000000',
  },
}
SCSS
$custom: #faec7c;
$custom-light: #fef1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faec7c",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 124
  },
  "hsl": {
    "h": 53.333,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93183,
    "c": 0.13418,
    "h": 102.2
  },
  "luminance": 0.8177
}

Semantic roles & 50–950 ramp

primary
#FAEC7C
secondary
#4354D7
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FAEC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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