#FEF6BF#FEF6BF

#FEF6BF is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.6% C 0.071 H 100.7°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#FEF6BF
RGBrgb(254, 246, 191)
HSLhsl(52, 97%, 87%)
HSVhsv(52, 25%, 100%)
CMYKcmyk(0%, 3.1%, 24.8%, 0.4%)
CIE-LABlab(96.31, -5.71, 27.49)
CIE-LCHlch(96.31, 28.08, 101.74°)
OKLaboklab(96.62% -0.0131 0.0697)
OKLCHoklch(96.62% 0.071 100.7)
XYZxyz(83.2329, 90.7455, 62.4111)
Luminance0.9074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF6BF #BFC7FE
analogous
#FED7BF #FEF6BF #E7FEBF
triadic
#FEF6BF #BFFEF6 #F6BFFE
tetradic
#FEF6BF #BFFED7 #BFC7FE #FEBFE7
square
#FEF6BF #BFFED7 #BFC7FE #FEBFE7
split-complementary
#FEF6BF #BFE7FE #D7BFFE
monochromatic
#FCE546 #FDEE83 #FEF6BF #FFFBE1 #FFFBE1

Accessibility & contrast

On white

1.10
#FEF6BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.15
#FEF6BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF6BF
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF6BF#FFFFFF#000000##000000
##FEF6BF1.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2BB
Deuteranopia (green-blind)
#FFF6C1
Tritanopia (blue-blind)
#FFEEE7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef6bf;
/* rgb */ color: rgb(254, 246, 191);
/* oklch */ color: oklch(96.6% 0.071 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff9d2',
    500: '#fef6bf',
    950: '#000000',
  },
}
SCSS
$custom: #fef6bf;
$custom-light: #fff9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef6bf",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 191
  },
  "hsl": {
    "h": 52.381,
    "s": 96.923,
    "l": 87.255
  },
  "oklch": {
    "l": 0.96615,
    "c": 0.07089,
    "h": 100.7
  },
  "luminance": 0.90744
}

Semantic roles & 50–950 ramp

primary
#FEF6BF
secondary
#7B89E6
accent
#1DE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF6BF

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

Preview Lab → · Contrast checker → · Palette generator →

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