#FEF56D#FEF56D

#FEF56D is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.156 H 105.5°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FEF56D
RGBrgb(254, 245, 109)
HSLhsl(56, 99%, 71%)
HSVhsv(56, 57%, 100%)
CMYKcmyk(0%, 3.5%, 57.1%, 0.4%)
CIE-LABlab(94.94, -13.53, 65.12)
CIE-LCHlch(94.94, 66.51, 101.74°)
OKLaboklab(95.17% -0.0416 0.1504)
OKLCHoklch(95.17% 0.156 105.5)
XYZxyz(76.2882, 87.4823, 27.3322)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF56D #6D76FE
analogous
#FEAC6D #FEF56D #BEFE6D
triadic
#FEF56D #6DFEF5 #F56DFE
tetradic
#FEF56D #6DFEAC #6D76FE #FE6DBE
square
#FEF56D #6DFEAC #6D76FE #FE6DBE
split-complementary
#FEF56D #6DBEFE #AC6DFE
monochromatic
#EFE002 #FEF130 #FEF56D #FEF9AA #FFFDE1

Accessibility & contrast

On white

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

On black

18.50
#FEF56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF56D
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF56D#FFFFFF#000000##000000
##FEF56D1.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5E
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef56d;
/* rgb */ color: rgb(254, 245, 109);
/* oklch */ color: oklch(95.2% 0.156 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fef56d',
    950: '#000000',
  },
}
SCSS
$custom: #fef56d;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef56d",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 56.276,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95173,
    "c": 0.15606,
    "h": 105.5
  },
  "luminance": 0.8748
}

Semantic roles & 50–950 ramp

primary
#FEF56D
secondary
#353FDA
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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