#FEFE6F#FEFE6F

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

Color values

HEX#FEFE6F
RGBrgb(254, 254, 111)
HSLhsl(60, 99%, 72%)
HSVhsv(60, 56%, 100%)
CMYKcmyk(0%, 0%, 56.3%, 0.4%)
CIE-LABlab(97.27, -17.75, 66.86)
CIE-LCHlch(97.27, 69.17, 104.87°)
OKLaboklab(97.03% -0.0534 0.1543)
OKLCHoklch(97.03% 0.163 109.1)
XYZxyz(79.1863, 93.1042, 28.8354)
Luminance0.9310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE6F #6F6FFE
analogous
#FEB76F #FEFE6F #B7FE6F
triadic
#FEFE6F #6FFEFE #FE6FFE
tetradic
#FEFE6F #6FFEB7 #6F6FFE #FE6FB7
square
#FEFE6F #6FFEB7 #6F6FFE #FE6FB7
split-complementary
#FEFE6F #6FB7FE #B76FFE
monochromatic
#F1F102 #FEFE32 #FEFE6F #FEFEAC #FFFFE1

Accessibility & contrast

On white

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

On black

19.62
#FEFE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE6F
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE6F#FFFFFF#000000##000000
##FEFE6F1.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF45F
Deuteranopia (green-blind)
#FFFA77
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe6f;
/* rgb */ color: rgb(254, 254, 111);
/* oklch */ color: oklch(97.0% 0.163 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe9d',
    500: '#fefe6f',
    950: '#000000',
  },
}
SCSS
$custom: #fefe6f;
$custom-light: #fffe9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe6f",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.97032,
    "c": 0.16334,
    "h": 109.1
  },
  "luminance": 0.93102
}

Semantic roles & 50–950 ramp

primary
#FEFE6F
secondary
#3737DA
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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