#FAEF7F#FAEF7F

#FAEF7F is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.134 H 103.6°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#FAEF7F
RGBrgb(250, 239, 127)
HSLhsl(55, 92%, 74%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4.4%, 49.2%, 2%)
CIE-LABlab(93.27, -10.77, 55.01)
CIE-LCHlch(93.27, 56.05, 101.08°)
OKLaboklab(93.83% -0.0316 0.1304)
OKLCHoklch(93.83% 0.134 103.6)
XYZxyz(74.1236, 83.5916, 32.3048)
Luminance0.8359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF7F #7F8AFA
analogous
#FAB27F #FAEF7F #C8FA7F
triadic
#FAEF7F #7FFAEF #EF7FFA
tetradic
#FAEF7F #7FFAB2 #7F8AFA #FA7FC8
square
#FAEF7F #7FFAB2 #7F8AFA #FA7FC8
split-complementary
#FAEF7F #7FC8FA #B27FFA
monochromatic
#F5E00A #F8E844 #FAEF7F #FCF6BA #FEFBE2

Accessibility & contrast

On white

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

On black

17.72
#FAEF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF7F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF7F#FFFFFF#000000##000000
##FAEF7F1.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef7f;
/* rgb */ color: rgb(250, 239, 127);
/* oklch */ color: oklch(93.8% 0.134 103.6);
Tailwind
colors: {
  custom: {
    50: '#fef4a6',
    500: '#faef7f',
    950: '#000000',
  },
}
SCSS
$custom: #faef7f;
$custom-light: #fef4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faef7f",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 127
  },
  "hsl": {
    "h": 54.634,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93828,
    "c": 0.13421,
    "h": 103.6
  },
  "luminance": 0.83589
}

Semantic roles & 50–950 ramp

primary
#FAEF7F
secondary
#4653D7
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAEF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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