#FEF485#FEF485

#FEF485 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.133 H 104.0°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FEF485
RGBrgb(254, 244, 133)
HSLhsl(55, 98%, 76%)
HSVhsv(55, 48%, 100%)
CMYKcmyk(0%, 3.9%, 47.6%, 0.4%)
CIE-LABlab(94.94, -11.14, 54.28)
CIE-LCHlch(94.94, 55.41, 101.60°)
OKLaboklab(95.25% -0.0323 0.1293)
OKLCHoklch(95.25% 0.133 104)
XYZxyz(77.4593, 87.4680, 34.9885)
Luminance0.8747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF485 #858FFE
analogous
#FEB785 #FEF485 #CBFE85
triadic
#FEF485 #85FEF4 #F485FE
tetradic
#FEF485 #85FEB7 #858FFE #FE85CB
square
#FEF485 #85FEB7 #858FFE #FE85CB
split-complementary
#FEF485 #85CBFE #B785FE
monochromatic
#FDE90C #FEEF48 #FEF485 #FEF9C2 #FFFCE1

Accessibility & contrast

On white

1.14
#FEF485 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#FEF485 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF485
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF485#FFFFFF#000000##000000
##FEF4851.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7B
Deuteranopia (green-blind)
#FFF38A
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef485;
/* rgb */ color: rgb(254, 244, 133);
/* oklch */ color: oklch(95.2% 0.133 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff7ab',
    500: '#fef485',
    950: '#000000',
  },
}
SCSS
$custom: #fef485;
$custom-light: #fff7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fef485",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 133
  },
  "hsl": {
    "h": 55.041,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95248,
    "c": 0.13323,
    "h": 104
  },
  "luminance": 0.87466
}

Semantic roles & 50–950 ramp

primary
#FEF485
secondary
#4A56DE
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF485

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

Preview Lab → · Contrast checker → · Palette generator →

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