#FEFA7D#FEFA7D

#FEFA7D is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.147 H 107.2°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FEFA7D
RGBrgb(254, 250, 125)
HSLhsl(58, 98%, 74%)
HSVhsv(58, 51%, 100%)
CMYKcmyk(0%, 1.6%, 50.8%, 0.4%)
CIE-LABlab(96.38, -14.75, 59.69)
CIE-LCHlch(96.38, 61.48, 103.88°)
OKLaboklab(96.37% -0.0435 0.1404)
OKLCHoklch(96.37% 0.147 107.2)
XYZxyz(78.7624, 90.9249, 32.7993)
Luminance0.9092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA7D #7D81FE
analogous
#FEBA7D #FEFA7D #C1FE7D
triadic
#FEFA7D #7DFEFA #FA7DFE
tetradic
#FEFA7D #7DFEBA #7D81FE #FE7DC1
square
#FEFA7D #7DFEBA #7D81FE #FE7DC1
split-complementary
#FEFA7D #7DC1FE #BA7DFE
monochromatic
#FDF504 #FEF840 #FEFA7D #FEFCBA #FFFEE1

Accessibility & contrast

On white

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

On black

19.18
#FEFA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA7D
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA7D#FFFFFF#000000##000000
##FEFA7D1.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF271
Deuteranopia (green-blind)
#FFF783
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa7d;
/* rgb */ color: rgb(254, 250, 125);
/* oklch */ color: oklch(96.4% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fefa7d',
    950: '#000000',
  },
}
SCSS
$custom: #fefa7d;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa7d",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 58.14,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96367,
    "c": 0.14697,
    "h": 107.2
  },
  "luminance": 0.90923
}

Semantic roles & 50–950 ramp

primary
#FEFA7D
secondary
#4348DC
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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