#FEFE62#FEFE62

#FEFE62 is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 96.9% C 0.173 H 109.2°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FEFE62
RGBrgb(254, 254, 98)
HSLhsl(60, 99%, 69%)
HSVhsv(60, 61%, 100%)
CMYKcmyk(0%, 0%, 61.4%, 0.4%)
CIE-LABlab(97.16, -18.61, 72.09)
CIE-LCHlch(97.16, 74.45, 104.47°)
OKLaboklab(96.91% -0.0572 0.1638)
OKLCHoklch(96.91% 0.173 109.2)
XYZxyz(78.5219, 92.8385, 25.3362)
Luminance0.9284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE62 #6262FE
analogous
#FEB062 #FEFE62 #B0FE62
triadic
#FEFE62 #62FEFE #FE62FE
tetradic
#FEFE62 #62FEB0 #6262FE #FE62B0
square
#FEFE62 #62FEB0 #6262FE #FE62B0
split-complementary
#FEFE62 #62B0FE #B062FE
monochromatic
#E4E401 #FEFE25 #FEFE62 #FEFE9F #FFFFDC

Accessibility & contrast

On white

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

On black

19.57
#FEFE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE62
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE62#FFFFFF#000000##000000
##FEFE621.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF44E
Deuteranopia (green-blind)
#FFF96C
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe62;
/* rgb */ color: rgb(254, 254, 98);
/* oklch */ color: oklch(96.9% 0.173 109.2);
Tailwind
colors: {
  custom: {
    50: '#fffe95',
    500: '#fefe62',
    950: '#000000',
  },
}
SCSS
$custom: #fefe62;
$custom-light: #fffe95;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe62",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.96912,
    "c": 0.17348,
    "h": 109.2
  },
  "luminance": 0.92836
}

Semantic roles & 50–950 ramp

primary
#FEFE62
secondary
#2C2CD8
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FEFE62

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

Preview Lab → · Contrast checker → · Palette generator →

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