#FAEC4F#FAEC4F

#FAEC4F is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.7% C 0.170 H 104.2°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#FAEC4F
RGBrgb(250, 236, 79)
HSLhsl(55, 94%, 65%)
HSVhsv(55, 68%, 98%)
CMYKcmyk(0%, 5.6%, 68.4%, 2%)
CIE-LABlab(92.08, -12.54, 74.04)
CIE-LCHlch(92.08, 75.10, 99.61°)
OKLaboklab(92.74% -0.0417 0.1651)
OKLCHoklch(92.74% 0.17 104.2)
XYZxyz(70.8340, 80.8822, 19.2763)
Luminance0.8088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC4F #4F5DFA
analogous
#FA974F #FAEC4F #B2FA4F
triadic
#FAEC4F #4FFAEC #EC4FFA
tetradic
#FAEC4F #4FFA97 #4F5DFA #FA4FB2
square
#FAEC4F #4FFA97 #4F5DFA #FA4FB2
split-complementary
#FAEC4F #4FB2FA #974FFA
monochromatic
#C9B906 #F8E613 #FAEC4F #FCF28B #FDF9C6

Accessibility & contrast

On white

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

On black

17.18
#FAEC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC4F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC4F#FFFFFF#000000##000000
##FAEC4F1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE437
Deuteranopia (green-blind)
#FFEC59
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #faec4f;
/* rgb */ color: rgb(250, 236, 79);
/* oklch */ color: oklch(92.7% 0.170 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff189',
    500: '#faec4f',
    950: '#000000',
  },
}
SCSS
$custom: #faec4f;
$custom-light: #fff189;
$custom-dark: #000000;
JSON
{
  "hex": "#faec4f",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 55.088,
    "s": 94.475,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92742,
    "c": 0.17032,
    "h": 104.2
  },
  "luminance": 0.80879
}

Semantic roles & 50–950 ramp

primary
#FAEC4F
secondary
#2835C5
accent
#13E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FAEC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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