#FEFBB2#FEFBB2

#FEFBB2 is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.4% C 0.092 H 106.0°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FEFBB2
RGBrgb(254, 251, 178)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 30%, 100%)
CMYKcmyk(0%, 1.2%, 29.9%, 0.4%)
CIE-LABlab(97.34, -9.85, 35.44)
CIE-LCHlch(97.34, 36.78, 105.53°)
OKLaboklab(97.36% -0.0254 0.0884)
OKLCHoklch(97.36% 0.092 106)
XYZxyz(83.4066, 93.2810, 55.7221)
Luminance0.9328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBB2 #B2B5FE
analogous
#FED5B2 #FEFBB2 #DBFEB2
triadic
#FEFBB2 #B2FEFB #FBB2FE
tetradic
#FEFBB2 #B2FED5 #B2B5FE #FEB2DB
square
#FEFBB2 #B2FED5 #B2B5FE #FEB2DB
split-complementary
#FEFBB2 #B2DBFE #D5B2FE
monochromatic
#FCF539 #FDF876 #FEFBB2 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

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

On black

19.66
#FEFBB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBB2
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBB2#FFFFFF#000000##000000
##FEFBB21.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AD
Deuteranopia (green-blind)
#FFF9B5
Tritanopia (blue-blind)
#FFF2E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefbb2;
/* rgb */ color: rgb(254, 251, 178);
/* oklch */ color: oklch(97.4% 0.092 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffcc9',
    500: '#fefbb2',
    950: '#000000',
  },
}
SCSS
$custom: #fefbb2;
$custom-light: #fffcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbb2",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 178
  },
  "hsl": {
    "h": 57.632,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.97361,
    "c": 0.092,
    "h": 106
  },
  "luminance": 0.9328
}

Semantic roles & 50–950 ramp

primary
#FEFBB2
secondary
#7075E4
accent
#09E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFBB2

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

Preview Lab → · Contrast checker → · Palette generator →

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