#FEF8F2#FEF8F2

#FEF8F2 is a very light, near-neutral orange. Relative luminance 0.946; OKLCH L 98.2% C 0.010 H 67.7°. Best body text is #000000 at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#FEF8F2
RGBrgb(254, 248, 242)
HSLhsl(30, 86%, 97%)
HSVhsv(30, 5%, 100%)
CMYKcmyk(0%, 2.4%, 4.7%, 0.4%)
CIE-LABlab(97.88, 0.97, 3.58)
CIE-LCHlch(97.88, 3.71, 74.84°)
OKLaboklab(98.21% 0.0039 0.0095)
OKLCHoklch(98.21% 0.01 67.7)
XYZxyz(90.4653, 94.6170, 97.4843)
Luminance0.9462 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8F2 #F2F8FE
analogous
#FEF2F2 #FEF8F2 #FEFEF2
triadic
#FEF8F2 #F2FEF8 #F8F2FE
tetradic
#FEF8F2 #F2FEF2 #F2F8FE #FEF2FE
square
#FEF8F2 #F2FEF2 #F2F8FE #FEF2FE
split-complementary
#FEF8F2 #F2FEFE #F2F2FE
monochromatic
#F5BB80 #FAD9B9 #FDF0E3 #FDF0E3 #FDF0E3

Accessibility & contrast

On white

1.05
#FEF8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.92
#FEF8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8F2
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8F2#FFFFFF#000000##000000
##FEF8F21.001.0519.9219.92
#FFFFFF1.051.0021.0021.00
#00000019.9221.001.001.00
##00000019.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF8F2
Deuteranopia (green-blind)
#FCF9F2
Tritanopia (blue-blind)
#FFF7F6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fef8f2;
/* rgb */ color: rgb(254, 248, 242);
/* oklch */ color: oklch(98.2% 0.010 67.7);
Tailwind
colors: {
  custom: {
    50: '#fefaf6',
    500: '#fef8f2',
    950: '#000000',
  },
}
SCSS
$custom: #fef8f2;
$custom-light: #fefaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8f2",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 242
  },
  "hsl": {
    "h": 30,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98211,
    "c": 0.01023,
    "h": 67.7
  },
  "luminance": 0.94616
}

Semantic roles & 50–950 ramp

primary
#FEF8F2
secondary
#AACAEA
accent
#73E203
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEF8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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