#FEF180#FEF180

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

Color values

HEX#FEF180
RGBrgb(254, 241, 128)
HSLhsl(54, 98%, 75%)
HSVhsv(54, 50%, 100%)
CMYKcmyk(0%, 5.1%, 49.6%, 0.4%)
CIE-LABlab(94.12, -10.10, 55.63)
CIE-LCHlch(94.12, 56.54, 100.29°)
OKLaboklab(94.58% -0.0298 0.1318)
OKLCHoklch(94.58% 0.135 102.7)
XYZxyz(76.2268, 85.5424, 32.9139)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF180 #808DFE
analogous
#FEB280 #FEF180 #CCFE80
triadic
#FEF180 #80FEF1 #F180FE
tetradic
#FEF180 #80FEB2 #808DFE #FE80CC
square
#FEF180 #80FEB2 #808DFE #FE80CC
split-complementary
#FEF180 #80CCFE #B280FE
monochromatic
#FDE407 #FEEA43 #FEF180 #FEF8BD #FFFCE1

Accessibility & contrast

On white

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

On black

18.11
#FEF180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF180
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF180#FFFFFF#000000##000000
##FEF1801.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef180;
/* rgb */ color: rgb(254, 241, 128);
/* oklch */ color: oklch(94.6% 0.135 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff5a7',
    500: '#fef180',
    950: '#000000',
  },
}
SCSS
$custom: #fef180;
$custom-light: #fff5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef180",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 128
  },
  "hsl": {
    "h": 53.81,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94579,
    "c": 0.13514,
    "h": 102.7
  },
  "luminance": 0.8554
}

Semantic roles & 50–950 ramp

primary
#FEF180
secondary
#4555DD
accent
#18E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF180

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

Preview Lab → · Contrast checker → · Palette generator →

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