#FEF6BD#FEF6BD

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

Color values

HEX#FEF6BD
RGBrgb(254, 246, 189)
HSLhsl(53, 97%, 87%)
HSVhsv(53, 26%, 100%)
CMYKcmyk(0%, 3.1%, 25.6%, 0.4%)
CIE-LABlab(96.27, -5.98, 28.46)
CIE-LCHlch(96.27, 29.08, 101.86°)
OKLaboklab(96.57% -0.0139 0.072)
OKLCHoklch(96.57% 0.073 101)
XYZxyz(83.0143, 90.6580, 61.2599)
Luminance0.9066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF6BD #BDC5FE
analogous
#FED6BD #FEF6BD #E6FEBD
triadic
#FEF6BD #BDFEF6 #F6BDFE
tetradic
#FEF6BD #BDFED6 #BDC5FE #FEBDE6
square
#FEF6BD #BDFED6 #BDC5FE #FEBDE6
split-complementary
#FEF6BD #BDE6FE #D6BDFE
monochromatic
#FCE644 #FDEE81 #FEF6BD #FFFBE1 #FFFBE1

Accessibility & contrast

On white

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

On black

19.13
#FEF6BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF6BD
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF6BD#FFFFFF#000000##000000
##FEF6BD1.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef6bd;
/* rgb */ color: rgb(254, 246, 189);
/* oklch */ color: oklch(96.6% 0.073 101.0);
Tailwind
colors: {
  custom: {
    50: '#fff9d1',
    500: '#fef6bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef6bd;
$custom-light: #fff9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef6bd",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 189
  },
  "hsl": {
    "h": 52.615,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96574,
    "c": 0.07331,
    "h": 101
  },
  "luminance": 0.90656
}

Semantic roles & 50–950 ramp

primary
#FEF6BD
secondary
#7A87E6
accent
#1CE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF6BD

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

Preview Lab → · Contrast checker → · Palette generator →

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