#FAEC5A#FAEC5A

#FAEC5A is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.8% C 0.163 H 103.8°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#FAEC5A
RGBrgb(250, 236, 90)
HSLhsl(55, 94%, 67%)
HSVhsv(55, 64%, 98%)
CMYKcmyk(0%, 5.6%, 64%, 2%)
CIE-LABlab(92.16, -11.95, 69.90)
CIE-LCHlch(92.16, 70.92, 99.70°)
OKLaboklab(92.83% -0.0389 0.1581)
OKLCHoklch(92.83% 0.163 103.8)
XYZxyz(71.2680, 81.0558, 21.5622)
Luminance0.8105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC5A #5A68FA
analogous
#FA9C5A #FAEC5A #B8FA5A
triadic
#FAEC5A #5AFAEC #EC5AFA
tetradic
#FAEC5A #5AFA9C #5A68FA #FA5AB8
square
#FAEC5A #5AFA9C #5A68FA #FA5AB8
split-complementary
#FAEC5A #5AB8FA #9C5AFA
monochromatic
#D3C106 #F8E51F #FAEC5A #FCF395 #FEFAD1

Accessibility & contrast

On white

1.22
#FAEC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#FAEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC5A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC5A#FFFFFF#000000##000000
##FAEC5A1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE447
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #faec5a;
/* rgb */ color: rgb(250, 236, 90);
/* oklch */ color: oklch(92.8% 0.163 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff18f',
    500: '#faec5a',
    950: '#000000',
  },
}
SCSS
$custom: #faec5a;
$custom-light: #fff18f;
$custom-dark: #000000;
JSON
{
  "hex": "#faec5a",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 54.75,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92828,
    "c": 0.16283,
    "h": 103.8
  },
  "luminance": 0.81053
}

Semantic roles & 50–950 ramp

primary
#FAEC5A
secondary
#2A39CE
accent
#14E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #FAEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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