#FEFE6C#FEFE6C

#FEFE6C is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.166 H 109.1°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FEFE6C
RGBrgb(254, 254, 108)
HSLhsl(60, 99%, 71%)
HSVhsv(60, 57%, 100%)
CMYKcmyk(0%, 0%, 57.5%, 0.4%)
CIE-LABlab(97.24, -17.96, 68.09)
CIE-LCHlch(97.24, 70.42, 104.78°)
OKLaboklab(97% -0.0543 0.1566)
OKLCHoklch(97% 0.166 109.1)
XYZxyz(79.0239, 93.0393, 27.9801)
Luminance0.9304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE6C #6C6CFE
analogous
#FEB56C #FEFE6C #B5FE6C
triadic
#FEFE6C #6CFEFE #FE6CFE
tetradic
#FEFE6C #6CFEB5 #6C6CFE #FE6CB5
square
#FEFE6C #6CFEB5 #6C6CFE #FE6CB5
split-complementary
#FEFE6C #6CB5FE #B56CFE
monochromatic
#EEEE02 #FEFE2F #FEFE6C #FEFEA9 #FFFFE1

Accessibility & contrast

On white

1.07
#FEFE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FEFE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE6C
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE6C#FFFFFF#000000##000000
##FEFE6C1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF45C
Deuteranopia (green-blind)
#FFF974
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe6c;
/* rgb */ color: rgb(254, 254, 108);
/* oklch */ color: oklch(97.0% 0.166 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe9b',
    500: '#fefe6c',
    950: '#000000',
  },
}
SCSS
$custom: #fefe6c;
$custom-light: #fffe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe6c",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 108
  },
  "hsl": {
    "h": 60,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.97003,
    "c": 0.16578,
    "h": 109.1
  },
  "luminance": 0.93037
}

Semantic roles & 50–950 ramp

primary
#FEFE6C
secondary
#3434DA
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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