#FAE172#FAE172

#FAE172 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.134 H 96.9°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#FAE172
RGBrgb(250, 225, 114)
HSLhsl(49, 93%, 71%)
HSVhsv(49, 54%, 98%)
CMYKcmyk(0%, 10%, 54.4%, 2%)
CIE-LABlab(89.58, -4.85, 56.67)
CIE-LCHlch(89.58, 56.88, 94.90°)
OKLaboklab(90.85% -0.016 0.1329)
OKLCHoklch(90.85% 0.134 96.9)
XYZxyz(69.3894, 75.3923, 26.8134)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE172 #728BFA
analogous
#FA9D72 #FAE172 #CFFA72
triadic
#FAE172 #72FAE1 #E172FA
tetradic
#FAE172 #72FA9D #728BFA #FA72CF
square
#FAE172 #72FA9D #728BFA #FA72CF
split-complementary
#FAE172 #72CFFA #9D72FA
monochromatic
#E9C008 #F8D437 #FAE172 #FCEEAD #FEF9E1

Accessibility & contrast

On white

1.31
#FAE172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#FAE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE172
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE172#FFFFFF#000000##000000
##FAE1721.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC68
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fae172;
/* rgb */ color: rgb(250, 225, 114);
/* oklch */ color: oklch(90.9% 0.134 96.9);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fae172',
    950: '#000000',
  },
}
SCSS
$custom: #fae172;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fae172",
  "rgb": {
    "r": 250,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 48.971,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90851,
    "c": 0.13381,
    "h": 96.9
  },
  "luminance": 0.75389
}

Semantic roles & 50–950 ramp

primary
#FAE172
secondary
#3B57D6
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FAE172

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

Preview Lab → · Contrast checker → · Palette generator →

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