#FEFA6A#FEFA6A

#FEFA6A is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.163 H 107.6°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FEFA6A
RGBrgb(254, 250, 106)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 58%, 100%)
CMYKcmyk(0%, 1.6%, 58.3%, 0.4%)
CIE-LABlab(96.20, -16.17, 67.78)
CIE-LCHlch(96.20, 69.68, 103.42°)
OKLaboklab(96.16% -0.0494 0.1557)
OKLCHoklch(96.16% 0.163 107.6)
XYZxyz(77.6626, 90.4849, 27.0072)
Luminance0.9048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA6A #6A6EFE
analogous
#FEB06A #FEFA6A #B8FE6A
triadic
#FEFA6A #6AFEFA #FA6AFE
tetradic
#FEFA6A #6AFEB0 #6A6EFE #FE6AB8
square
#FEFA6A #6AFEB0 #6A6EFE #FE6AB8
split-complementary
#FEFA6A #6AB8FE #B06AFE
monochromatic
#ECE602 #FEF82D #FEFA6A #FEFCA7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.10
#FEFA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA6A
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA6A#FFFFFF#000000##000000
##FEFA6A1.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15A
Deuteranopia (green-blind)
#FFF772
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa6a;
/* rgb */ color: rgb(254, 250, 106);
/* oklch */ color: oklch(96.2% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fefa6a',
    950: '#000000',
  },
}
SCSS
$custom: #fefa6a;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa6a",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 106
  },
  "hsl": {
    "h": 58.378,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.96164,
    "c": 0.16337,
    "h": 107.6
  },
  "luminance": 0.90483
}

Semantic roles & 50–950 ramp

primary
#FEFA6A
secondary
#3337DA
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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