#FEFC70#FEFC70

#FEFC70 is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.6% C 0.160 H 108.3°. Best body text is #000000 at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#FEFC70
RGBrgb(254, 252, 112)
HSLhsl(59, 99%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 0.8%, 55.9%, 0.4%)
CIE-LABlab(96.76, -16.72, 65.87)
CIE-LCHlch(96.76, 67.95, 104.24°)
OKLaboklab(96.63% -0.0504 0.1524)
OKLCHoklch(96.63% 0.16 108.3)
XYZxyz(78.6103, 91.8637, 28.9166)
Luminance0.9186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC70 #7072FE
analogous
#FEB570 #FEFC70 #B9FE70
triadic
#FEFC70 #70FEFC #FC70FE
tetradic
#FEFC70 #70FEB5 #7072FE #FE70B9
square
#FEFC70 #70FEB5 #7072FE #FE70B9
split-complementary
#FEFC70 #70B9FE #B570FE
monochromatic
#F2EF02 #FEFB33 #FEFC70 #FEFDAD #FFFEE1

Accessibility & contrast

On white

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

On black

19.37
#FEFC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC70
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC70#FFFFFF#000000##000000
##FEFC701.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF361
Deuteranopia (green-blind)
#FFF878
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc70;
/* rgb */ color: rgb(254, 252, 112);
/* oklch */ color: oklch(96.6% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fefc70',
    950: '#000000',
  },
}
SCSS
$custom: #fefc70;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc70",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 59.155,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96632,
    "c": 0.16047,
    "h": 108.3
  },
  "luminance": 0.91861
}

Semantic roles & 50–950 ramp

primary
#FEFC70
secondary
#383ADA
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFC70

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

Preview Lab → · Contrast checker → · Palette generator →

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