#FEFBAC#FEFBAC

#FEFBAC is a very light, moderate yellow. Relative luminance 0.930; OKLCH L 97.3% C 0.099 H 106.3°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FEFBAC
RGBrgb(254, 251, 172)
HSLhsl(58, 98%, 84%)
HSVhsv(58, 32%, 100%)
CMYKcmyk(0%, 1.2%, 32.3%, 0.4%)
CIE-LABlab(97.25, -10.57, 38.30)
CIE-LCHlch(97.25, 39.73, 105.42°)
OKLaboklab(97.25% -0.0277 0.095)
OKLCHoklch(97.25% 0.099 106.3)
XYZxyz(82.8173, 93.0453, 52.6186)
Luminance0.9304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBAC #ACAFFE
analogous
#FED2AC #FEFBAC #D8FEAC
triadic
#FEFBAC #ACFEFB #FBACFE
tetradic
#FEFBAC #ACFED2 #ACAFFE #FEACD8
square
#FEFBAC #ACFED2 #ACAFFE #FEACD8
split-complementary
#FEFBAC #ACD8FE #D2ACFE
monochromatic
#FDF533 #FDF870 #FEFBAC #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.61
#FEFBAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBAC
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBAC#FFFFFF#000000##000000
##FEFBAC1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefbac;
/* rgb */ color: rgb(254, 251, 172);
/* oklch */ color: oklch(97.3% 0.099 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffcc5',
    500: '#fefbac',
    950: '#000000',
  },
}
SCSS
$custom: #fefbac;
$custom-light: #fffcc5;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbac",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 172
  },
  "hsl": {
    "h": 57.805,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.97254,
    "c": 0.09896,
    "h": 106.3
  },
  "luminance": 0.93044
}

Semantic roles & 50–950 ramp

primary
#FEFBAC
secondary
#6B6FE3
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFBAC

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

Preview Lab → · Contrast checker → · Palette generator →

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