#FAE97B#FAE97B

#FAE97B is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.6% C 0.132 H 100.7°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#FAE97B
RGBrgb(250, 233, 123)
HSLhsl(52, 93%, 73%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 6.8%, 50.8%, 2%)
CIE-LABlab(91.70, -8.14, 55.00)
CIE-LCHlch(91.70, 55.60, 98.41°)
OKLaboklab(92.57% -0.0245 0.1301)
OKLCHoklch(92.57% 0.132 100.7)
XYZxyz(72.1406, 80.0345, 30.3832)
Luminance0.8003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE97B #7B8CFA
analogous
#FAAA7B #FAE97B #CBFA7B
triadic
#FAE97B #7BFAE9 #E97BFA
tetradic
#FAE97B #7BFAAA #7B8CFA #FA7BCB
square
#FAE97B #7BFAAA #7B8CFA #FA7BCB
split-complementary
#FAE97B #7BCBFA #AA7BFA
monochromatic
#F1D209 #F8DF40 #FAE97B #FCF3B6 #FEFAE2

Accessibility & contrast

On white

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

On black

17.01
#FAE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE97B
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE97B#FFFFFF#000000##000000
##FAE97B1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE371
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fae97b;
/* rgb */ color: rgb(250, 233, 123);
/* oklch */ color: oklch(92.6% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#feefa4',
    500: '#fae97b',
    950: '#000000',
  },
}
SCSS
$custom: #fae97b;
$custom-light: #feefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fae97b",
  "rgb": {
    "r": 250,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 51.969,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92565,
    "c": 0.13234,
    "h": 100.7
  },
  "luminance": 0.80032
}

Semantic roles & 50–950 ramp

primary
#FAE97B
secondary
#4256D7
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FAE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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