#FEF995#FEF995

#FEF995 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.5% C 0.122 H 106.0°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FEF995
RGBrgb(254, 249, 149)
HSLhsl(57, 98%, 79%)
HSVhsv(57, 41%, 100%)
CMYKcmyk(0%, 2%, 41.3%, 0.4%)
CIE-LABlab(96.41, -12.09, 48.49)
CIE-LCHlch(96.41, 49.97, 104.00°)
OKLaboklab(96.48% -0.0336 0.1174)
OKLCHoklch(96.48% 0.122 106)
XYZxyz(80.1750, 90.9941, 41.7681)
Luminance0.9099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF995 #959AFE
analogous
#FEC595 #FEF995 #CFFE95
triadic
#FEF995 #95FEF9 #F995FE
tetradic
#FEF995 #95FEC5 #959AFE #FE95CF
square
#FEF995 #95FEC5 #959AFE #FE95CF
split-complementary
#FEF995 #95CFFE #C595FE
monochromatic
#FDF21C #FDF658 #FEF995 #FFFCD2 #FFFDE1

Accessibility & contrast

On white

1.09
#FEF995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.20
#FEF995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF995
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF995#FFFFFF#000000##000000
##FEF9951.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28D
Deuteranopia (green-blind)
#FFF799
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef995;
/* rgb */ color: rgb(254, 249, 149);
/* oklch */ color: oklch(96.5% 0.122 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffbb5',
    500: '#fef995',
    950: '#000000',
  },
}
SCSS
$custom: #fef995;
$custom-light: #fffbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef995",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 149
  },
  "hsl": {
    "h": 57.143,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96481,
    "c": 0.12212,
    "h": 106
  },
  "luminance": 0.90992
}

Semantic roles & 50–950 ramp

primary
#FEF995
secondary
#575EE0
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF995

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

Preview Lab → · Contrast checker → · Palette generator →

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