#FAEF7C#FAEF7C

#FAEF7C is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.137 H 103.8°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#FAEF7C
RGBrgb(250, 239, 124)
HSLhsl(55, 93%, 73%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4.4%, 50.4%, 2%)
CIE-LABlab(93.24, -11.03, 56.36)
CIE-LCHlch(93.24, 57.43, 101.07°)
OKLaboklab(93.79% -0.0327 0.1331)
OKLCHoklch(93.79% 0.137 103.8)
XYZxyz(73.9310, 83.5146, 31.2904)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF7C #7C87FA
analogous
#FAB07C #FAEF7C #C6FA7C
triadic
#FAEF7C #7CFAEF #EF7CFA
tetradic
#FAEF7C #7CFAB0 #7C87FA #FA7CC6
square
#FAEF7C #7CFAB0 #7C87FA #FA7CC6
split-complementary
#FAEF7C #7CC6FA #B07CFA
monochromatic
#F2DE09 #F8E841 #FAEF7C #FCF6B7 #FEFBE2

Accessibility & contrast

On white

1.19
#FAEF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#FAEF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF7C
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF7C#FFFFFF#000000##000000
##FAEF7C1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef7c;
/* rgb */ color: rgb(250, 239, 124);
/* oklch */ color: oklch(93.8% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#fef4a4',
    500: '#faef7c',
    950: '#000000',
  },
}
SCSS
$custom: #faef7c;
$custom-light: #fef4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faef7c",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 54.762,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9379,
    "c": 0.13708,
    "h": 103.8
  },
  "luminance": 0.83512
}

Semantic roles & 50–950 ramp

primary
#FAEF7C
secondary
#4350D7
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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