#FEF409#FEF409

#FEF409 is a very light, highly saturated yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.201 H 106.6°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FEF409
RGBrgb(254, 244, 9)
HSLhsl(58, 99%, 52%)
HSVhsv(58, 96%, 100%)
CMYKcmyk(0%, 3.9%, 96.5%, 0.4%)
CIE-LABlab(94.22, -16.63, 91.66)
CIE-LCHlch(94.22, 93.16, 100.29°)
OKLaboklab(94.45% -0.0576 0.1928)
OKLCHoklch(94.45% 0.201 106.6)
XYZxyz(73.2765, 85.7948, 12.9586)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF409 #0913FE
analogous
#FE7A09 #FEF409 #8EFE09
triadic
#FEF409 #09FEF4 #F409FE
tetradic
#FEF409 #09FE7A #0913FE #FE098E
square
#FEF409 #09FE7A #0913FE #FE098E
split-complementary
#FEF409 #098EFE #7A09FE
monochromatic
#8C8601 #C9C101 #FEF409 #FEF746 #FEF983

Accessibility & contrast

On white

1.16
#FEF409 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FEF409 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF409
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF409#FFFFFF#000000##000000
##FEF4091.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA00
Deuteranopia (green-blind)
#FFF230
Tritanopia (blue-blind)
#FFE3D0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef409;
/* rgb */ color: rgb(254, 244, 9);
/* oklch */ color: oklch(94.5% 0.201 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff772',
    500: '#fef409',
    950: '#000000',
  },
}
SCSS
$custom: #fef409;
$custom-light: #fff772;
$custom-dark: #000000;
JSON
{
  "hex": "#fef409",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 9
  },
  "hsl": {
    "h": 57.551,
    "s": 99.19,
    "l": 51.569
  },
  "oklch": {
    "l": 0.94454,
    "c": 0.20118,
    "h": 106.6
  },
  "luminance": 0.85792
}

Semantic roles & 50–950 ramp

primary
#FEF409
secondary
#1A1F91
accent
#32FF29
background
#FFFFFB
surface
#FFFEF1
border
#D7D6CB
text
#19170A
muted
#87857D

Preview Lab

Preview with #FEF409

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

Preview Lab → · Contrast checker → · Palette generator →

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