#FEFAB3#FEFAB3

#FEFAB3 is a very light, moderate yellow. Relative luminance 0.927; OKLCH L 97.2% C 0.090 H 105.2°. Best body text is #000000 at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#FEFAB3
RGBrgb(254, 250, 179)
HSLhsl(57, 97%, 85%)
HSVhsv(57, 30%, 100%)
CMYKcmyk(0%, 1.6%, 29.5%, 0.4%)
CIE-LABlab(97.11, -9.23, 34.63)
CIE-LCHlch(97.11, 35.84, 104.93°)
OKLaboklab(97.18% -0.0236 0.0865)
OKLCHoklch(97.18% 0.09 105.2)
XYZxyz(83.1958, 92.6982, 56.1490)
Luminance0.9270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAB3 #B3B7FE
analogous
#FED5B3 #FEFAB3 #DDFEB3
triadic
#FEFAB3 #B3FEFA #FAB3FE
tetradic
#FEFAB3 #B3FED5 #B3B7FE #FEB3DD
square
#FEFAB3 #B3FED5 #B3B7FE #FEB3DD
split-complementary
#FEFAB3 #B3DDFE #D5B3FE
monochromatic
#FCF23A #FDF677 #FEFAB3 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

1.07
#FEFAB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#FEFAB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAB3
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAB3#FFFFFF#000000##000000
##FEFAB31.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AE
Deuteranopia (green-blind)
#FFF8B6
Tritanopia (blue-blind)
#FFF1E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefab3;
/* rgb */ color: rgb(254, 250, 179);
/* oklch */ color: oklch(97.2% 0.090 105.2);
Tailwind
colors: {
  custom: {
    50: '#fffbca',
    500: '#fefab3',
    950: '#000000',
  },
}
SCSS
$custom: #fefab3;
$custom-light: #fffbca;
$custom-dark: #000000;
JSON
{
  "hex": "#fefab3",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 179
  },
  "hsl": {
    "h": 56.8,
    "s": 97.403,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97179,
    "c": 0.08969,
    "h": 105.2
  },
  "luminance": 0.92697
}

Semantic roles & 50–950 ramp

primary
#FEFAB3
secondary
#7177E4
accent
#0CE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFAB3

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

Preview Lab → · Contrast checker → · Palette generator →

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