#FEFB6A#FEFB6A

#FEFB6A is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.4% C 0.164 H 108.0°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FEFB6A
RGBrgb(254, 251, 106)
HSLhsl(59, 99%, 71%)
HSVhsv(59, 58%, 100%)
CMYKcmyk(0%, 1.2%, 58.3%, 0.4%)
CIE-LABlab(96.45, -16.65, 68.06)
CIE-LCHlch(96.45, 70.07, 103.75°)
OKLaboklab(96.37% -0.0508 0.1563)
OKLCHoklch(96.37% 0.164 108)
XYZxyz(77.9741, 91.1081, 27.1111)
Luminance0.9111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB6A #6A6DFE
analogous
#FEB16A #FEFB6A #B7FE6A
triadic
#FEFB6A #6AFEFB #FB6AFE
tetradic
#FEFB6A #6AFEB1 #6A6DFE #FE6AB7
square
#FEFB6A #6AFEB1 #6A6DFE #FE6AB7
split-complementary
#FEFB6A #6AB7FE #B16AFE
monochromatic
#ECE702 #FEF92D #FEFB6A #FEFDA7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.22
#FEFB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB6A
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB6A#FFFFFF#000000##000000
##FEFB6A1.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF25A
Deuteranopia (green-blind)
#FFF772
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb6a;
/* rgb */ color: rgb(254, 251, 106);
/* oklch */ color: oklch(96.4% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffc9a',
    500: '#fefb6a',
    950: '#000000',
  },
}
SCSS
$custom: #fefb6a;
$custom-light: #fffc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb6a",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 106
  },
  "hsl": {
    "h": 58.784,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.96368,
    "c": 0.16436,
    "h": 108
  },
  "luminance": 0.91106
}

Semantic roles & 50–950 ramp

primary
#FEFB6A
secondary
#3336DA
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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