#FEFAB9#FEFAB9

#FEFAB9 is a very light, moderate yellow. Relative luminance 0.929; OKLCH L 97.3% C 0.083 H 104.9°. Best body text is #000000 at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#FEFAB9
RGBrgb(254, 250, 185)
HSLhsl(57, 97%, 86%)
HSVhsv(57, 27%, 100%)
CMYKcmyk(0%, 1.6%, 27.2%, 0.4%)
CIE-LABlab(97.21, -8.48, 31.75)
CIE-LCHlch(97.21, 32.86, 104.96°)
OKLaboklab(97.29% -0.0212 0.0798)
OKLCHoklch(97.29% 0.083 104.9)
XYZxyz(83.8159, 92.9463, 59.4146)
Luminance0.9294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAB9 #B9BDFE
analogous
#FED7B9 #FEFAB9 #DFFEB9
triadic
#FEFAB9 #B9FEFA #FAB9FE
tetradic
#FEFAB9 #B9FED7 #B9BDFE #FEB9DF
square
#FEFAB9 #B9FED7 #B9BDFE #FEB9DF
split-complementary
#FEFAB9 #B9DFFE #D7B9FE
monochromatic
#FCF140 #FDF67D #FEFAB9 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

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

On black

19.59
#FEFAB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAB9
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAB9#FFFFFF#000000##000000
##FEFAB91.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B5
Deuteranopia (green-blind)
#FFF9BB
Tritanopia (blue-blind)
#FFF1E9
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefab9;
/* rgb */ color: rgb(254, 250, 185);
/* oklch */ color: oklch(97.3% 0.083 104.9);
Tailwind
colors: {
  custom: {
    50: '#fffbce',
    500: '#fefab9',
    950: '#000000',
  },
}
SCSS
$custom: #fefab9;
$custom-light: #fffbce;
$custom-dark: #000000;
JSON
{
  "hex": "#fefab9",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 185
  },
  "hsl": {
    "h": 56.522,
    "s": 97.183,
    "l": 86.078
  },
  "oklch": {
    "l": 0.97292,
    "c": 0.08258,
    "h": 104.9
  },
  "luminance": 0.92945
}

Semantic roles & 50–950 ramp

primary
#FEFAB9
secondary
#767DE5
accent
#0DE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FEFAB9

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

Preview Lab → · Contrast checker → · Palette generator →

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