#FEFC6E#FEFC6E

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

Color values

HEX#FEFC6E
RGBrgb(254, 252, 110)
HSLhsl(59, 99%, 71%)
HSVhsv(59, 57%, 100%)
CMYKcmyk(0%, 0.8%, 56.7%, 0.4%)
CIE-LABlab(96.75, -16.86, 66.70)
CIE-LCHlch(96.75, 68.80, 104.19°)
OKLaboklab(96.61% -0.051 0.1539)
OKLCHoklch(96.61% 0.162 108.3)
XYZxyz(78.5002, 91.8196, 28.3366)
Luminance0.9182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC6E #6E70FE
analogous
#FEB46E #FEFC6E #B8FE6E
triadic
#FEFC6E #6EFEFC #FC6EFE
tetradic
#FEFC6E #6EFEB4 #6E70FE #FE6EB8
square
#FEFC6E #6EFEB4 #6E70FE #FE6EB8
split-complementary
#FEFC6E #6EB8FE #B46EFE
monochromatic
#F0ED02 #FEFB31 #FEFC6E #FEFDAB #FFFEE1

Accessibility & contrast

On white

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

On black

19.36
#FEFC6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC6E
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC6E#FFFFFF#000000##000000
##FEFC6E1.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF35F
Deuteranopia (green-blind)
#FFF876
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc6e;
/* rgb */ color: rgb(254, 252, 110);
/* oklch */ color: oklch(96.6% 0.162 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd9c',
    500: '#fefc6e',
    950: '#000000',
  },
}
SCSS
$custom: #fefc6e;
$custom-light: #fffd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc6e",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 110
  },
  "hsl": {
    "h": 59.167,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.96612,
    "c": 0.16212,
    "h": 108.3
  },
  "luminance": 0.91817
}

Semantic roles & 50–950 ramp

primary
#FEFC6E
secondary
#3638DA
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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