#FEFA74#FEFA74

#FEFA74 is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.155 H 107.4°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#FEFA74
RGBrgb(254, 250, 116)
HSLhsl(58, 99%, 73%)
HSVhsv(58, 54%, 100%)
CMYKcmyk(0%, 1.6%, 54.3%, 0.4%)
CIE-LABlab(96.29, -15.46, 63.59)
CIE-LCHlch(96.29, 65.44, 103.66°)
OKLaboklab(96.27% -0.0464 0.1479)
OKLCHoklch(96.27% 0.155 107.4)
XYZxyz(78.2133, 90.7052, 29.9074)
Luminance0.9070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA74 #7478FE
analogous
#FEB574 #FEFA74 #BDFE74
triadic
#FEFA74 #74FEFA #FA74FE
tetradic
#FEFA74 #74FEB5 #7478FE #FE74BD
square
#FEFA74 #74FEB5 #7478FE #FE74BD
split-complementary
#FEFA74 #74BDFE #B574FE
monochromatic
#F6EF02 #FEF837 #FEFA74 #FEFCB1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.14
#FEFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA74
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA74#FFFFFF#000000##000000
##FEFA741.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF166
Deuteranopia (green-blind)
#FFF77B
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa74;
/* rgb */ color: rgb(254, 250, 116);
/* oklch */ color: oklch(96.3% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffba0',
    500: '#fefa74',
    950: '#000000',
  },
}
SCSS
$custom: #fefa74;
$custom-light: #fffba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa74",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 58.261,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96265,
    "c": 0.15503,
    "h": 107.4
  },
  "luminance": 0.90703
}

Semantic roles & 50–950 ramp

primary
#FEFA74
secondary
#3B40DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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