#FEFBA7#FEFBA7

#FEFBA7 is a very light, moderate yellow. Relative luminance 0.929; OKLCH L 97.2% C 0.105 H 106.4°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FEFBA7
RGBrgb(254, 251, 167)
HSLhsl(58, 98%, 83%)
HSVhsv(58, 34%, 100%)
CMYKcmyk(0%, 1.2%, 34.3%, 0.4%)
CIE-LABlab(97.17, -11.14, 40.68)
CIE-LCHlch(97.17, 42.18, 105.32°)
OKLaboklab(97.17% -0.0296 0.1004)
OKLCHoklch(97.17% 0.105 106.4)
XYZxyz(82.3462, 92.8569, 50.1370)
Luminance0.9285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBA7 #A7AAFE
analogous
#FECFA7 #FEFBA7 #D6FEA7
triadic
#FEFBA7 #A7FEFB #FBA7FE
tetradic
#FEFBA7 #A7FECF #A7AAFE #FEA7D6
square
#FEFBA7 #A7FECF #A7AAFE #FEA7D6
split-complementary
#FEFBA7 #A7D6FE #CFA7FE
monochromatic
#FDF52E #FDF86A #FEFBA7 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.57
#FEFBA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBA7
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBA7#FFFFFF#000000##000000
##FEFBA71.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5A1
Deuteranopia (green-blind)
#FFF9AA
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefba7;
/* rgb */ color: rgb(254, 251, 167);
/* oklch */ color: oklch(97.2% 0.105 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffcc2',
    500: '#fefba7',
    950: '#000000',
  },
}
SCSS
$custom: #fefba7;
$custom-light: #fffcc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefba7",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 167
  },
  "hsl": {
    "h": 57.931,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.97169,
    "c": 0.10465,
    "h": 106.4
  },
  "luminance": 0.92855
}

Semantic roles & 50–950 ramp

primary
#FEFBA7
secondary
#676BE2
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFBA7

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

Preview Lab → · Contrast checker → · Palette generator →

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