#FAEC7F#FAEC7F

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

Color values

HEX#FAEC7F
RGBrgb(250, 236, 127)
HSLhsl(53, 92%, 74%)
HSVhsv(53, 49%, 98%)
CMYKcmyk(0%, 5.6%, 49.2%, 2%)
CIE-LABlab(92.51, -9.29, 54.09)
CIE-LCHlch(92.51, 54.88, 99.74°)
OKLaboklab(93.22% -0.0274 0.1284)
OKLCHoklch(93.22% 0.131 102)
XYZxyz(73.2526, 81.8496, 32.0145)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC7F #7F8DFA
analogous
#FAAF7F #FAEC7F #CBFA7F
triadic
#FAEC7F #7FFAEC #EC7FFA
tetradic
#FAEC7F #7FFAAF #7F8DFA #FA7FCB
square
#FAEC7F #7FFAAF #7F8DFA #FA7FCB
split-complementary
#FAEC7F #7FCBFA #AF7FFA
monochromatic
#F5DA0A #F8E344 #FAEC7F #FCF5BA #FEFBE2

Accessibility & contrast

On white

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

On black

17.37
#FAEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC7F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC7F#FFFFFF#000000##000000
##FAEC7F1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE675
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #faec7f;
/* rgb */ color: rgb(250, 236, 127);
/* oklch */ color: oklch(93.2% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#fef1a6',
    500: '#faec7f',
    950: '#000000',
  },
}
SCSS
$custom: #faec7f;
$custom-light: #fef1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faec7f",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 53.171,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93221,
    "c": 0.1313,
    "h": 102
  },
  "luminance": 0.81847
}

Semantic roles & 50–950 ramp

primary
#FAEC7F
secondary
#4656D7
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FAEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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