#FEF17F#FEF17F

#FEF17F is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.6% C 0.136 H 102.8°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FEF17F
RGBrgb(254, 241, 127)
HSLhsl(54, 98%, 75%)
HSVhsv(54, 50%, 100%)
CMYKcmyk(0%, 5.1%, 50%, 0.4%)
CIE-LABlab(94.11, -10.18, 56.08)
CIE-LCHlch(94.11, 57.00, 100.29°)
OKLaboklab(94.57% -0.0302 0.1327)
OKLCHoklch(94.57% 0.136 102.8)
XYZxyz(76.1613, 85.5162, 32.5690)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF17F #7F8CFE
analogous
#FEB17F #FEF17F #CCFE7F
triadic
#FEF17F #7FFEF1 #F17FFE
tetradic
#FEF17F #7FFEB1 #7F8CFE #FE7FCC
square
#FEF17F #7FFEB1 #7F8CFE #FE7FCC
split-complementary
#FEF17F #7FCCFE #B17FFE
monochromatic
#FDE406 #FEEA42 #FEF17F #FEF8BC #FFFCE1

Accessibility & contrast

On white

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

On black

18.10
#FEF17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF17F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF17F#FFFFFF#000000##000000
##FEF17F1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA75
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef17f;
/* rgb */ color: rgb(254, 241, 127);
/* oklch */ color: oklch(94.6% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff5a7',
    500: '#fef17f',
    950: '#000000',
  },
}
SCSS
$custom: #fef17f;
$custom-light: #fff5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef17f",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 127
  },
  "hsl": {
    "h": 53.858,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94566,
    "c": 0.1361,
    "h": 102.8
  },
  "luminance": 0.85514
}

Semantic roles & 50–950 ramp

primary
#FEF17F
secondary
#4554DD
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF17F

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

Preview Lab → · Contrast checker → · Palette generator →

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