#FEDC59#FEDC59

#FEDC59 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 90.0% C 0.151 H 94.5°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#FEDC59
RGBrgb(254, 220, 89)
HSLhsl(48, 99%, 67%)
HSVhsv(48, 65%, 100%)
CMYKcmyk(0%, 13.4%, 65%, 0.4%)
CIE-LABlab(88.44, -2.38, 66.49)
CIE-LCHlch(88.44, 66.53, 92.05°)
OKLaboklab(89.96% -0.012 0.1506)
OKLCHoklch(89.96% 0.151 94.5)
XYZxyz(68.2727, 72.9821, 19.9401)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDC59 #597BFE
analogous
#FE8959 #FEDC59 #CEFE59
triadic
#FEDC59 #59FEDC #DC59FE
tetradic
#FEDC59 #59FE89 #597BFE #FE59CE
square
#FEDC59 #59FE89 #597BFE #FE59CE
split-complementary
#FEDC59 #59CEFE #8959FE
monochromatic
#DBAE01 #FECF1C #FEDC59 #FEE996 #FFF6D3

Accessibility & contrast

On white

1.35
#FEDC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#FEDC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDC59
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDC59#FFFFFF#000000##000000
##FEDC591.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D849
Deuteranopia (green-blind)
#FAE260
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fedc59;
/* rgb */ color: rgb(254, 220, 89);
/* oklch */ color: oklch(90.0% 0.151 94.5);
Tailwind
colors: {
  custom: {
    50: '#ffe68e',
    500: '#fedc59',
    950: '#000000',
  },
}
SCSS
$custom: #fedc59;
$custom-light: #ffe68e;
$custom-dark: #000000;
JSON
{
  "hex": "#fedc59",
  "rgb": {
    "r": 254,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 47.636,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8996,
    "c": 0.15111,
    "h": 94.5
  },
  "luminance": 0.72978
}

Semantic roles & 50–950 ramp

primary
#FEDC59
secondary
#274BD4
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FEDC59

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

Preview Lab → · Contrast checker → · Palette generator →

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