#FAEF7B#FAEF7B

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

Color values

HEX#FAEF7B
RGBrgb(250, 239, 123)
HSLhsl(55, 93%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4.4%, 50.8%, 2%)
CIE-LABlab(93.23, -11.11, 56.81)
CIE-LCHlch(93.23, 57.89, 101.07°)
OKLaboklab(93.78% -0.033 0.134)
OKLCHoklch(93.78% 0.138 103.8)
XYZxyz(73.8681, 83.4894, 30.9590)
Luminance0.8349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF7B #7B86FA
analogous
#FAAF7B #FAEF7B #C5FA7B
triadic
#FAEF7B #7BFAEF #EF7BFA
tetradic
#FAEF7B #7BFAAF #7B86FA #FA7BC5
square
#FAEF7B #7BFAAF #7B86FA #FA7BC5
split-complementary
#FAEF7B #7BC5FA #AF7BFA
monochromatic
#F1DD09 #F8E840 #FAEF7B #FCF6B6 #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAEF7B#FFFFFF#000000##000000
##FAEF7B1.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)
#FFE870
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef7b;
/* rgb */ color: rgb(250, 239, 123);
/* oklch */ color: oklch(93.8% 0.138 103.8);
Tailwind
colors: {
  custom: {
    50: '#fef4a4',
    500: '#faef7b',
    950: '#000000',
  },
}
SCSS
$custom: #faef7b;
$custom-light: #fef4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#faef7b",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 54.803,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93778,
    "c": 0.13803,
    "h": 103.8
  },
  "luminance": 0.83487
}

Semantic roles & 50–950 ramp

primary
#FAEF7B
secondary
#424FD7
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAEF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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