#FEDF6C#FEDF6C

#FEDF6C is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.138 H 94.4°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#FEDF6C
RGBrgb(254, 223, 108)
HSLhsl(47, 99%, 71%)
HSVhsv(47, 57%, 100%)
CMYKcmyk(0%, 12.2%, 57.5%, 0.4%)
CIE-LABlab(89.36, -2.67, 59.25)
CIE-LCHlch(89.36, 59.31, 92.58°)
OKLaboklab(90.74% -0.0106 0.1377)
OKLCHoklch(90.74% 0.138 94.4)
XYZxyz(69.9704, 74.9322, 24.9622)
Luminance0.7493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF6C #6C8BFE
analogous
#FE966C #FEDF6C #D4FE6C
triadic
#FEDF6C #6CFEDF #DF6CFE
tetradic
#FEDF6C #6CFE96 #6C8BFE #FE6CD4
square
#FEDF6C #6CFE96 #6C8BFE #FE6CD4
split-complementary
#FEDF6C #6CD4FE #966CFE
monochromatic
#EEBC02 #FED22F #FEDF6C #FEECA9 #FFF8E1

Accessibility & contrast

On white

1.31
#FEDF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#FEDF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF6C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF6C#FFFFFF#000000##000000
##FEDF6C1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB61
Deuteranopia (green-blind)
#FBE571
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf6c;
/* rgb */ color: rgb(254, 223, 108);
/* oklch */ color: oklch(90.7% 0.138 94.4);
Tailwind
colors: {
  custom: {
    50: '#ffe899',
    500: '#fedf6c',
    950: '#000000',
  },
}
SCSS
$custom: #fedf6c;
$custom-light: #ffe899;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf6c",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 108
  },
  "hsl": {
    "h": 47.26,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90743,
    "c": 0.13812,
    "h": 94.4
  },
  "luminance": 0.74929
}

Semantic roles & 50–950 ramp

primary
#FEDF6C
secondary
#3457DA
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FEDF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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