#FEFB7F#FEFB7F

#FEFB7F is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.6% C 0.146 H 107.6°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#FEFB7F
RGBrgb(254, 251, 127)
HSLhsl(59, 98%, 75%)
HSVhsv(59, 50%, 100%)
CMYKcmyk(0%, 1.2%, 50%, 0.4%)
CIE-LABlab(96.66, -15.08, 59.11)
CIE-LCHlch(96.66, 61.00, 104.31°)
OKLaboklab(96.59% -0.0442 0.1393)
OKLCHoklch(96.59% 0.146 107.6)
XYZxyz(79.2030, 91.5996, 33.5829)
Luminance0.9160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB7F #7F82FE
analogous
#FEBC7F #FEFB7F #C1FE7F
triadic
#FEFB7F #7FFEFB #FB7FFE
tetradic
#FEFB7F #7FFEBC #7F82FE #FE7FC1
square
#FEFB7F #7FFEBC #7F82FE #FE7FC1
split-complementary
#FEFB7F #7FC1FE #BC7FFE
monochromatic
#FDF706 #FEF942 #FEFB7F #FEFDBC #FFFEE1

Accessibility & contrast

On white

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

On black

19.32
#FEFB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB7F
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB7F#FFFFFF#000000##000000
##FEFB7F1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF373
Deuteranopia (green-blind)
#FFF885
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb7f;
/* rgb */ color: rgb(254, 251, 127);
/* oklch */ color: oklch(96.6% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffca7',
    500: '#fefb7f',
    950: '#000000',
  },
}
SCSS
$custom: #fefb7f;
$custom-light: #fffca7;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb7f",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 127
  },
  "hsl": {
    "h": 58.583,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.96594,
    "c": 0.14615,
    "h": 107.6
  },
  "luminance": 0.91597
}

Semantic roles & 50–950 ramp

primary
#FEFB7F
secondary
#4548DD
accent
#05E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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