#FFFE42#FFFE42

#FFFE42 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.193 H 109.2°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#FFFE42
RGBrgb(255, 254, 66)
HSLhsl(60, 100%, 63%)
HSVhsv(60, 74%, 100%)
CMYKcmyk(0%, 0.4%, 74.1%, 0%)
CIE-LABlab(97.04, -19.79, 83.28)
CIE-LCHlch(97.04, 85.60, 103.37°)
OKLaboklab(96.77% -0.0635 0.1823)
OKLCHoklch(96.77% 0.193 109.2)
XYZxyz(77.6681, 92.5394, 18.9238)
Luminance0.9254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE42 #4243FF
analogous
#FFA042 #FFFE42 #A1FF42
triadic
#FFFE42 #42FFFE #FE42FF
tetradic
#FFFE42 #42FFA0 #4243FF #FF42A1
square
#FFFE42 #42FFA0 #4243FF #FF42A1
split-complementary
#FFFE42 #42A1FF #A042FF
monochromatic
#C7C600 #FFFE05 #FFFE42 #FFFE7F #FFFFBC

Accessibility & contrast

On white

1.08
#FFFE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#FFFE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE42
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE42#FFFFFF#000000##000000
##FFFE421.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF311
Deuteranopia (green-blind)
#FFF952
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffe42;
/* rgb */ color: rgb(255, 254, 66);
/* oklch */ color: oklch(96.8% 0.193 109.2);
Tailwind
colors: {
  custom: {
    50: '#fffe84',
    500: '#fffe42',
    950: '#000000',
  },
}
SCSS
$custom: #fffe42;
$custom-light: #fffe84;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe42",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 66
  },
  "hsl": {
    "h": 59.683,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.9677,
    "c": 0.19306,
    "h": 109.2
  },
  "luminance": 0.92537
}

Semantic roles & 50–950 ramp

primary
#FFFE42
secondary
#2223C3
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFE42

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

Preview Lab → · Contrast checker → · Palette generator →

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