#FEDA40#FEDA40

#FEDA40 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.166 H 95.3°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#FEDA40
RGBrgb(254, 218, 64)
HSLhsl(49, 99%, 62%)
HSVhsv(49, 75%, 100%)
CMYKcmyk(0%, 14.2%, 74.8%, 0.4%)
CIE-LABlab(87.77, -2.57, 75.29)
CIE-LCHlch(87.77, 75.33, 91.96°)
OKLaboklab(89.38% -0.0152 0.165)
OKLCHoklch(89.38% 0.166 95.3)
XYZxyz(66.8735, 71.5875, 15.1449)
Luminance0.7158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDA40 #4064FE
analogous
#FE7B40 #FEDA40 #C3FE40
triadic
#FEDA40 #40FEDA #DA40FE
tetradic
#FEDA40 #40FE7B #4064FE #FE40C3
square
#FEDA40 #40FE7B #4064FE #FE40C3
split-complementary
#FEDA40 #40C3FE #7B40FE
monochromatic
#C39E01 #FECE03 #FEDA40 #FEE67D #FFF2BA

Accessibility & contrast

On white

1.37
#FEDA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#FEDA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDA40
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDA40#FFFFFF#000000##000000
##FEDA401.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D622
Deuteranopia (green-blind)
#FAE14A
Tritanopia (blue-blind)
#FFC9BC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #feda40;
/* rgb */ color: rgb(254, 218, 64);
/* oklch */ color: oklch(89.4% 0.166 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffe580',
    500: '#feda40',
    950: '#000000',
  },
}
SCSS
$custom: #feda40;
$custom-light: #ffe580;
$custom-dark: #000000;
JSON
{
  "hex": "#feda40",
  "rgb": {
    "r": 254,
    "g": 218,
    "b": 64
  },
  "hsl": {
    "h": 48.632,
    "s": 98.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89376,
    "c": 0.16566,
    "h": 95.3
  },
  "luminance": 0.71584
}

Semantic roles & 50–950 ramp

primary
#FEDA40
secondary
#2340BF
accent
#2BE600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #FEDA40

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

Preview Lab → · Contrast checker → · Palette generator →

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