#FEF975#FEF975

#FEF975 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.153 H 107.0°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FEF975
RGBrgb(254, 249, 117)
HSLhsl(58, 99%, 73%)
HSVhsv(58, 54%, 100%)
CMYKcmyk(0%, 2%, 53.9%, 0.4%)
CIE-LABlab(96.04, -14.90, 62.87)
CIE-LCHlch(96.04, 64.61, 103.33°)
OKLaboklab(96.07% -0.0447 0.1465)
OKLCHoklch(96.07% 0.153 107)
XYZxyz(77.9618, 90.1088, 30.1121)
Luminance0.9011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF975 #757AFE
analogous
#FEB475 #FEF975 #BFFE75
triadic
#FEF975 #75FEF9 #F975FE
tetradic
#FEF975 #75FEB4 #757AFE #FE75BF
square
#FEF975 #75FEB4 #757AFE #FE75BF
split-complementary
#FEF975 #75BFFE #B475FE
monochromatic
#F7EE02 #FEF638 #FEF975 #FEFCB2 #FFFEE1

Accessibility & contrast

On white

1.10
#FEF975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#FEF975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF975
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF975#FFFFFF#000000##000000
##FEF9751.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF168
Deuteranopia (green-blind)
#FFF67C
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef975;
/* rgb */ color: rgb(254, 249, 117);
/* oklch */ color: oklch(96.1% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffba0',
    500: '#fef975',
    950: '#000000',
  },
}
SCSS
$custom: #fef975;
$custom-light: #fffba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef975",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 117
  },
  "hsl": {
    "h": 57.81,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.96072,
    "c": 0.15315,
    "h": 107
  },
  "luminance": 0.90107
}

Semantic roles & 50–950 ramp

primary
#FEF975
secondary
#3C42DB
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF975

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

Preview Lab → · Contrast checker → · Palette generator →

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