#FEF97A#FEF97A

#FEF97A is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.149 H 106.8°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FEF97A
RGBrgb(254, 249, 122)
HSLhsl(58, 99%, 74%)
HSVhsv(58, 52%, 100%)
CMYKcmyk(0%, 2%, 52%, 0.4%)
CIE-LABlab(96.09, -14.51, 60.70)
CIE-LCHlch(96.09, 62.41, 103.44°)
OKLaboklab(96.13% -0.0431 0.1423)
OKLCHoklch(96.13% 0.149 106.8)
XYZxyz(78.2637, 90.2295, 31.7019)
Luminance0.9023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF97A #7A7FFE
analogous
#FEB77A #FEF97A #C1FE7A
triadic
#FEF97A #7AFEF9 #F97AFE
tetradic
#FEF97A #7AFEB7 #7A7FFE #FE7AC1
square
#FEF97A #7AFEB7 #7A7FFE #FE7AC1
split-complementary
#FEF97A #7AC1FE #B77AFE
monochromatic
#FCF202 #FEF63D #FEF97A #FEFCB7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.05
#FEF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF97A
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF97A#FFFFFF#000000##000000
##FEF97A1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef97a;
/* rgb */ color: rgb(254, 249, 122);
/* oklch */ color: oklch(96.1% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fef97a',
    950: '#000000',
  },
}
SCSS
$custom: #fef97a;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef97a",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 57.727,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96128,
    "c": 0.14868,
    "h": 106.8
  },
  "luminance": 0.90227
}

Semantic roles & 50–950 ramp

primary
#FEF97A
secondary
#4046DC
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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