#FEF973#FEF973

#FEF973 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.0% C 0.155 H 107.0°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FEF973
RGBrgb(254, 249, 115)
HSLhsl(58, 99%, 72%)
HSVhsv(58, 55%, 100%)
CMYKcmyk(0%, 2%, 54.7%, 0.4%)
CIE-LABlab(96.02, -15.05, 63.73)
CIE-LCHlch(96.02, 65.48, 103.29°)
OKLaboklab(96.05% -0.0453 0.1481)
OKLCHoklch(96.05% 0.155 107)
XYZxyz(77.8455, 90.0623, 29.4994)
Luminance0.9006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF973 #7378FE
analogous
#FEB473 #FEF973 #BDFE73
triadic
#FEF973 #73FEF9 #F973FE
tetradic
#FEF973 #73FEB4 #7378FE #FE73BD
square
#FEF973 #73FEB4 #7378FE #FE73BD
split-complementary
#FEF973 #73BDFE #B473FE
monochromatic
#F5EC02 #FEF636 #FEF973 #FEFCB0 #FFFEE1

Accessibility & contrast

On white

1.10
#FEF973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.01
#FEF973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF973
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF973#FFFFFF#000000##000000
##FEF9731.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF065
Deuteranopia (green-blind)
#FFF67A
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef973;
/* rgb */ color: rgb(254, 249, 115);
/* oklch */ color: oklch(96.0% 0.155 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffb9f',
    500: '#fef973',
    950: '#000000',
  },
}
SCSS
$custom: #fef973;
$custom-light: #fffb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fef973",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 57.842,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9605,
    "c": 0.15489,
    "h": 107
  },
  "luminance": 0.9006
}

Semantic roles & 50–950 ramp

primary
#FEF973
secondary
#3A40DB
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF973

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

Preview Lab → · Contrast checker → · Palette generator →

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