#FEFBF2#FEFBF2

#FEFBF2 is a very light, near-neutral yellow. Relative luminance 0.965; OKLCH L 98.8% C 0.012 H 91.5°. Best body text is #000000 at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#FEFBF2
RGBrgb(254, 251, 242)
HSLhsl(45, 86%, 97%)
HSVhsv(45, 5%, 100%)
CMYKcmyk(0%, 1.2%, 4.7%, 0.4%)
CIE-LABlab(98.62, -0.54, 4.66)
CIE-LCHlch(98.62, 4.69, 96.67°)
OKLaboklab(98.79% -0.0003 0.0123)
OKLCHoklch(98.79% 0.012 91.5)
XYZxyz(91.3950, 96.4764, 97.7942)
Luminance0.9648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBF2 #F2F5FE
analogous
#FEF5F2 #FEFBF2 #FBFEF2
triadic
#FEFBF2 #F2FEFB #FBF2FE
tetradic
#FEFBF2 #F2FEF5 #F2F5FE #FEF2FB
square
#FEFBF2 #F2FEF5 #F2F5FE #FEF2FB
split-complementary
#FEFBF2 #F2FBFE #F5F2FE
monochromatic
#F5D880 #FAEAB9 #FDF6E3 #FDF6E3 #FDF6E3

Accessibility & contrast

On white

1.03
#FEFBF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.30
#FEFBF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBF2
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBF2#FFFFFF#000000##000000
##FEFBF21.001.0320.3020.30
#FFFFFF1.031.0021.0021.00
#00000020.3021.001.001.00
##00000020.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDFAF2
Deuteranopia (green-blind)
#FEFBF2
Tritanopia (blue-blind)
#FFF9F8
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fefbf2;
/* rgb */ color: rgb(254, 251, 242);
/* oklch */ color: oklch(98.8% 0.012 91.5);
Tailwind
colors: {
  custom: {
    50: '#fefcf6',
    500: '#fefbf2',
    950: '#000000',
  },
}
SCSS
$custom: #fefbf2;
$custom-light: #fefcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbf2",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 242
  },
  "hsl": {
    "h": 45,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98793,
    "c": 0.01227,
    "h": 91.5
  },
  "luminance": 0.96476
}

Semantic roles & 50–950 ramp

primary
#FEFBF2
secondary
#AABAEA
accent
#3BE203
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEFBF2

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

Preview Lab → · Contrast checker → · Palette generator →

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