#FEF495#FEF495

#FEF495 is a very light, moderate yellow. Relative luminance 0.879; OKLCH L 95.5% C 0.117 H 103.1°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#FEF495
RGBrgb(254, 244, 149)
HSLhsl(54, 98%, 79%)
HSVhsv(54, 41%, 100%)
CMYKcmyk(0%, 3.9%, 41.3%, 0.4%)
CIE-LABlab(95.14, -9.63, 46.89)
CIE-LCHlch(95.14, 47.87, 101.60°)
OKLaboklab(95.47% -0.0265 0.1138)
OKLCHoklch(95.47% 0.117 103.1)
XYZxyz(78.6501, 87.9443, 41.2598)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF495 #959FFE
analogous
#FEC095 #FEF495 #D4FE95
triadic
#FEF495 #95FEF4 #F495FE
tetradic
#FEF495 #95FEC0 #959FFE #FE95D4
square
#FEF495 #95FEC0 #959FFE #FE95D4
split-complementary
#FEF495 #95D4FE #C095FE
monochromatic
#FDE71C #FDEE58 #FEF495 #FFFAD2 #FFFCE1

Accessibility & contrast

On white

1.13
#FEF495 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#FEF495 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF495
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF495#FFFFFF#000000##000000
##FEF4951.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FFF399
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef495;
/* rgb */ color: rgb(254, 244, 149);
/* oklch */ color: oklch(95.5% 0.117 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff7b5',
    500: '#fef495',
    950: '#000000',
  },
}
SCSS
$custom: #fef495;
$custom-light: #fff7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef495",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 149
  },
  "hsl": {
    "h": 54.286,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95473,
    "c": 0.11685,
    "h": 103.1
  },
  "luminance": 0.87942
}

Semantic roles & 50–950 ramp

primary
#FEF495
secondary
#5764E0
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF495

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

Preview Lab → · Contrast checker → · Palette generator →

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