#FEF280#FEF280

#FEF280 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.136 H 103.3°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FEF280
RGBrgb(254, 242, 128)
HSLhsl(54, 98%, 75%)
HSVhsv(54, 50%, 100%)
CMYKcmyk(0%, 4.7%, 49.6%, 0.4%)
CIE-LABlab(94.37, -10.59, 55.93)
CIE-LCHlch(94.37, 56.93, 100.72°)
OKLaboklab(94.78% -0.0312 0.1325)
OKLCHoklch(94.78% 0.136 103.3)
XYZxyz(76.5236, 86.1360, 33.0128)
Luminance0.8613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF280 #808CFE
analogous
#FEB380 #FEF280 #CBFE80
triadic
#FEF280 #80FEF2 #F280FE
tetradic
#FEF280 #80FEB3 #808CFE #FE80CB
square
#FEF280 #80FEB3 #808CFE #FE80CB
split-complementary
#FEF280 #80CBFE #B380FE
monochromatic
#FDE607 #FEEC43 #FEF280 #FEF8BD #FFFCE1

Accessibility & contrast

On white

1.15
#FEF280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#FEF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF280
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF280#FFFFFF#000000##000000
##FEF2801.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB76
Deuteranopia (green-blind)
#FFF285
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef280;
/* rgb */ color: rgb(254, 242, 128);
/* oklch */ color: oklch(94.8% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fef280',
    950: '#000000',
  },
}
SCSS
$custom: #fef280;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef280",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 54.286,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9478,
    "c": 0.13611,
    "h": 103.3
  },
  "luminance": 0.86134
}

Semantic roles & 50–950 ramp

primary
#FEF280
secondary
#4554DD
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF280

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

Preview Lab → · Contrast checker → · Palette generator →

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