#FEFE72#FEFE72

#FEFE72 is a very light, vivid yellow. Relative luminance 0.932; OKLCH L 97.1% C 0.161 H 109.1°. Best body text is #000000 at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#FEFE72
RGBrgb(254, 254, 114)
HSLhsl(60, 99%, 72%)
HSVhsv(60, 55%, 100%)
CMYKcmyk(0%, 0%, 55.1%, 0.4%)
CIE-LABlab(97.30, -17.54, 65.60)
CIE-LCHlch(97.30, 67.91, 104.97°)
OKLaboklab(97.06% -0.0525 0.152)
OKLCHoklch(97.06% 0.161 109.1)
XYZxyz(79.3543, 93.1714, 29.7200)
Luminance0.9317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE72 #7272FE
analogous
#FEB872 #FEFE72 #B8FE72
triadic
#FEFE72 #72FEFE #FE72FE
tetradic
#FEFE72 #72FEB8 #7272FE #FE72B8
square
#FEFE72 #72FEB8 #7272FE #FE72B8
split-complementary
#FEFE72 #72B8FE #B872FE
monochromatic
#F4F402 #FEFE35 #FEFE72 #FEFEAF #FFFFE1

Accessibility & contrast

On white

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

On black

19.63
#FEFE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE72
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE72#FFFFFF#000000##000000
##FEFE721.001.0719.6319.63
#FFFFFF1.071.0021.0021.00
#00000019.6321.001.001.00
##00000019.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefe72;
/* rgb */ color: rgb(254, 254, 114);
/* oklch */ color: oklch(97.1% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe9f',
    500: '#fefe72',
    950: '#000000',
  },
}
SCSS
$custom: #fefe72;
$custom-light: #fffe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe72",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.97063,
    "c": 0.16082,
    "h": 109.1
  },
  "luminance": 0.93169
}

Semantic roles & 50–950 ramp

primary
#FEFE72
secondary
#3939DB
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFE72

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

Preview Lab → · Contrast checker → · Palette generator →

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