#FEF0BF#FEF0BF

#FEF0BF is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.4% C 0.065 H 94.0°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#FEF0BF
RGBrgb(254, 240, 191)
HSLhsl(47, 97%, 87%)
HSVhsv(47, 25%, 100%)
CMYKcmyk(0%, 5.5%, 24.8%, 0.4%)
CIE-LABlab(94.80, -2.71, 25.44)
CIE-LCHlch(94.80, 25.58, 96.07°)
OKLaboklab(95.43% -0.0045 0.0647)
OKLCHoklch(95.43% 0.065 94)
XYZxyz(81.4374, 87.1544, 61.8126)
Luminance0.8715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF0BF #BFCDFE
analogous
#FED1BF #FEF0BF #ECFEBF
triadic
#FEF0BF #BFFEF0 #F0BFFE
tetradic
#FEF0BF #BFFED1 #BFCDFE #FEBFEC
square
#FEF0BF #BFFED1 #BFCDFE #FEBFEC
split-complementary
#FEF0BF #BFECFE #D1BFFE
monochromatic
#FCD446 #FDE283 #FEF0BF #FFF8E1 #FFF8E1

Accessibility & contrast

On white

1.14
#FEF0BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#FEF0BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF0BF
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF0BF#FFFFFF#000000##000000
##FEF0BF1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDBC
Deuteranopia (green-blind)
#FEF2C1
Tritanopia (blue-blind)
#FFE8E3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef0bf;
/* rgb */ color: rgb(254, 240, 191);
/* oklch */ color: oklch(95.4% 0.065 94.0);
Tailwind
colors: {
  custom: {
    50: '#fff4d2',
    500: '#fef0bf',
    950: '#000000',
  },
}
SCSS
$custom: #fef0bf;
$custom-light: #fff4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef0bf",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 191
  },
  "hsl": {
    "h": 46.667,
    "s": 96.923,
    "l": 87.255
  },
  "oklch": {
    "l": 0.95429,
    "c": 0.06482,
    "h": 94
  },
  "luminance": 0.87153
}

Semantic roles & 50–950 ramp

primary
#FEF0BF
secondary
#7B93E6
accent
#33E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF0BF

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

Preview Lab → · Contrast checker → · Palette generator →

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