#FAEC42#FAEC42

#FAEC42 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.178 H 104.5°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#FAEC42
RGBrgb(250, 236, 66)
HSLhsl(55, 95%, 62%)
HSVhsv(55, 74%, 98%)
CMYKcmyk(0%, 5.6%, 73.6%, 2%)
CIE-LABlab(92.00, -13.13, 78.47)
CIE-LCHlch(92.00, 79.56, 99.50°)
OKLaboklab(92.66% -0.0446 0.1722)
OKLCHoklch(92.66% 0.178 104.5)
XYZxyz(70.4062, 80.7111, 17.0234)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC42 #4250FA
analogous
#FA9042 #FAEC42 #ACFA42
triadic
#FAEC42 #42FAEC #EC42FA
tetradic
#FAEC42 #42FA90 #4250FA #FA42AC
square
#FAEC42 #42FA90 #4250FA #FA42AC
split-complementary
#FAEC42 #42ACFA #9042FA
monochromatic
#BDAF05 #F8E607 #FAEC42 #FCF27E #FDF8B9

Accessibility & contrast

On white

1.23
#FAEC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#FAEC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC42
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC42#FFFFFF#000000##000000
##FAEC421.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE41E
Deuteranopia (green-blind)
#FFEB4F
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #faec42;
/* rgb */ color: rgb(250, 236, 66);
/* oklch */ color: oklch(92.7% 0.178 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff182',
    500: '#faec42',
    950: '#000000',
  },
}
SCSS
$custom: #faec42;
$custom-light: #fff182;
$custom-dark: #000000;
JSON
{
  "hex": "#faec42",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 66
  },
  "hsl": {
    "h": 55.435,
    "s": 94.845,
    "l": 61.961
  },
  "oklch": {
    "l": 0.92657,
    "c": 0.17793,
    "h": 104.5
  },
  "luminance": 0.80708
}

Semantic roles & 50–950 ramp

primary
#FAEC42
secondary
#2631BB
accent
#11E600
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19160B
muted
#87857E

Preview Lab

Preview with #FAEC42

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

Preview Lab → · Contrast checker → · Palette generator →

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