#FEDC5F#FEDC5F

#FEDC5F is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 90.0% C 0.147 H 94.0°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#FEDC5F
RGBrgb(254, 220, 95)
HSLhsl(47, 99%, 68%)
HSVhsv(47, 63%, 100%)
CMYKcmyk(0%, 13.4%, 62.6%, 0.4%)
CIE-LABlab(88.49, -2.02, 64.01)
CIE-LCHlch(88.49, 64.05, 91.81°)
OKLaboklab(90.02% -0.0102 0.1463)
OKLCHoklch(90.02% 0.147 94)
XYZxyz(68.5350, 73.0870, 21.3215)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDC5F #5F81FE
analogous
#FE8C5F #FEDC5F #D0FE5F
triadic
#FEDC5F #5FFEDC #DC5FFE
tetradic
#FEDC5F #5FFE8C #5F81FE #FE5FD0
square
#FEDC5F #5FFE8C #5F81FE #FE5FD0
split-complementary
#FEDC5F #5FD0FE #8C5FFE
monochromatic
#E1B101 #FECF22 #FEDC5F #FEE99C #FFF7D9

Accessibility & contrast

On white

1.34
#FEDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#FEDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDC5F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDC5F#FFFFFF#000000##000000
##FEDC5F1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#FAE265
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fedc5f;
/* rgb */ color: rgb(254, 220, 95);
/* oklch */ color: oklch(90.0% 0.147 94.0);
Tailwind
colors: {
  custom: {
    50: '#ffe691',
    500: '#fedc5f',
    950: '#000000',
  },
}
SCSS
$custom: #fedc5f;
$custom-light: #ffe691;
$custom-dark: #000000;
JSON
{
  "hex": "#fedc5f",
  "rgb": {
    "r": 254,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 47.17,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90015,
    "c": 0.14661,
    "h": 94
  },
  "luminance": 0.73083
}

Semantic roles & 50–950 ramp

primary
#FEDC5F
secondary
#294FD8
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FEDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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