#FEFB74#FEFB74

#FEFB74 is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.5% C 0.156 H 107.8°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FEFB74
RGBrgb(254, 251, 116)
HSLhsl(59, 99%, 73%)
HSVhsv(59, 54%, 100%)
CMYKcmyk(0%, 1.2%, 54.3%, 0.4%)
CIE-LABlab(96.55, -15.94, 63.88)
CIE-LCHlch(96.55, 65.84, 104.01°)
OKLaboklab(96.47% -0.0478 0.1485)
OKLCHoklch(96.47% 0.156 107.8)
XYZxyz(78.5248, 91.3283, 30.0113)
Luminance0.9133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB74 #7477FE
analogous
#FEB674 #FEFB74 #BCFE74
triadic
#FEFB74 #74FEFB #FB74FE
tetradic
#FEFB74 #74FEB6 #7477FE #FE74BC
square
#FEFB74 #74FEB6 #7477FE #FE74BC
split-complementary
#FEFB74 #74BCFE #B674FE
monochromatic
#F6F102 #FEF937 #FEFB74 #FEFDB1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.27
#FEFB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB74
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB74#FFFFFF#000000##000000
##FEFB741.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF266
Deuteranopia (green-blind)
#FFF87B
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb74;
/* rgb */ color: rgb(254, 251, 116);
/* oklch */ color: oklch(96.5% 0.156 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffca0',
    500: '#fefb74',
    950: '#000000',
  },
}
SCSS
$custom: #fefb74;
$custom-light: #fffca0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb74",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 116
  },
  "hsl": {
    "h": 58.696,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9647,
    "c": 0.15604,
    "h": 107.8
  },
  "luminance": 0.91326
}

Semantic roles & 50–950 ramp

primary
#FEFB74
secondary
#3B3FDB
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFB74

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

Preview Lab → · Contrast checker → · Palette generator →

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