#FEFB7D#FEFB7D

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

Color values

HEX#FEFB7D
RGBrgb(254, 251, 125)
HSLhsl(59, 98%, 74%)
HSVhsv(59, 51%, 100%)
CMYKcmyk(0%, 1.2%, 50.8%, 0.4%)
CIE-LABlab(96.64, -15.24, 59.99)
CIE-LCHlch(96.64, 61.89, 104.25°)
OKLaboklab(96.57% -0.0448 0.1411)
OKLCHoklch(96.57% 0.148 107.6)
XYZxyz(79.0739, 91.5480, 32.9032)
Luminance0.9155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB7D #7D80FE
analogous
#FEBB7D #FEFB7D #C0FE7D
triadic
#FEFB7D #7DFEFB #FB7DFE
tetradic
#FEFB7D #7DFEBB #7D80FE #FE7DC0
square
#FEFB7D #7DFEBB #7D80FE #FE7DC0
split-complementary
#FEFB7D #7DC0FE #BB7DFE
monochromatic
#FDF704 #FEF940 #FEFB7D #FEFDBA #FFFEE1

Accessibility & contrast

On white

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

On black

19.31
#FEFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB7D
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB7D#FFFFFF#000000##000000
##FEFB7D1.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF371
Deuteranopia (green-blind)
#FFF883
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb7d;
/* rgb */ color: rgb(254, 251, 125);
/* oklch */ color: oklch(96.6% 0.148 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffca6',
    500: '#fefb7d',
    950: '#000000',
  },
}
SCSS
$custom: #fefb7d;
$custom-light: #fffca6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb7d",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 58.605,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96571,
    "c": 0.14801,
    "h": 107.6
  },
  "luminance": 0.91546
}

Semantic roles & 50–950 ramp

primary
#FEFB7D
secondary
#4346DC
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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