#FAE271#FAE271

#FAE271 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.136 H 97.5°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#FAE271
RGBrgb(250, 226, 113)
HSLhsl(49, 93%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 9.6%, 54.8%, 2%)
CIE-LABlab(89.82, -5.43, 57.41)
CIE-LCHlch(89.82, 57.67, 95.41°)
OKLaboklab(91.04% -0.0178 0.1344)
OKLCHoklch(91.04% 0.136 97.5)
XYZxyz(69.6039, 75.9119, 26.6057)
Luminance0.7591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE271 #7189FA
analogous
#FA9D71 #FAE271 #CDFA71
triadic
#FAE271 #71FAE2 #E271FA
tetradic
#FAE271 #71FA9D #7189FA #FA71CD
square
#FAE271 #71FA9D #7189FA #FA71CD
split-complementary
#FAE271 #71CDFA #9D71FA
monochromatic
#E8C108 #F8D636 #FAE271 #FCEEAC #FEF9E1

Accessibility & contrast

On white

1.30
#FAE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#FAE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE271
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE271#FFFFFF#000000##000000
##FAE2711.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fae271;
/* rgb */ color: rgb(250, 226, 113);
/* oklch */ color: oklch(91.0% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fae271',
    950: '#000000',
  },
}
SCSS
$custom: #fae271;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fae271",
  "rgb": {
    "r": 250,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 49.489,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91039,
    "c": 0.13553,
    "h": 97.5
  },
  "luminance": 0.75909
}

Semantic roles & 50–950 ramp

primary
#FAE271
secondary
#3A55D5
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FAE271

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

Preview Lab → · Contrast checker → · Palette generator →

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