#FEDF74#FEDF74

#FEDF74 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.8% C 0.131 H 93.5°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#FEDF74
RGBrgb(254, 223, 116)
HSLhsl(47, 99%, 73%)
HSVhsv(47, 54%, 100%)
CMYKcmyk(0%, 12.2%, 54.3%, 0.4%)
CIE-LABlab(89.44, -2.08, 55.67)
CIE-LCHlch(89.44, 55.71, 92.14°)
OKLaboklab(90.84% -0.008 0.1308)
OKLCHoklch(90.84% 0.131 93.5)
XYZxyz(70.4158, 75.1104, 27.3083)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF74 #7493FE
analogous
#FE9A74 #FEDF74 #D8FE74
triadic
#FEDF74 #74FEDF #DF74FE
tetradic
#FEDF74 #74FE9A #7493FE #FE74D8
square
#FEDF74 #74FE9A #7493FE #FE74D8
split-complementary
#FEDF74 #74D8FE #9A74FE
monochromatic
#F6BF02 #FED137 #FEDF74 #FEEDB1 #FFF8E1

Accessibility & contrast

On white

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

On black

16.02
#FEDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF74
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF74#FFFFFF#000000##000000
##FEDF741.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#FAE578
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf74;
/* rgb */ color: rgb(254, 223, 116);
/* oklch */ color: oklch(90.8% 0.131 93.5);
Tailwind
colors: {
  custom: {
    50: '#ffe89f',
    500: '#fedf74',
    950: '#000000',
  },
}
SCSS
$custom: #fedf74;
$custom-light: #ffe89f;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf74",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 46.522,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90836,
    "c": 0.13106,
    "h": 93.5
  },
  "luminance": 0.75107
}

Semantic roles & 50–950 ramp

primary
#FEDF74
secondary
#3B5FDB
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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