#FEF63C#FEF63C

#FEF63C is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.189 H 106.9°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FEF63C
RGBrgb(254, 246, 60)
HSLhsl(58, 99%, 62%)
HSVhsv(58, 76%, 100%)
CMYKcmyk(0%, 3.1%, 76.4%, 0.4%)
CIE-LABlab(94.87, -16.58, 83.05)
CIE-LCHlch(94.87, 84.69, 101.29°)
OKLaboklab(95.01% -0.055 0.1808)
OKLCHoklch(95.01% 0.189 106.9)
XYZxyz(74.6475, 87.3113, 17.1948)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF63C #3C44FE
analogous
#FE953C #FEF63C #A5FE3C
triadic
#FEF63C #3CFEF6 #F63CFE
tetradic
#FEF63C #3CFE95 #3C44FE #FE3CA5
square
#FEF63C #3CFE95 #3C44FE #FE3CA5
split-complementary
#FEF63C #3CA5FE #953CFE
monochromatic
#BFB701 #FCF101 #FEF63C #FEF979 #FFFCB6

Accessibility & contrast

On white

1.14
#FEF63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#FEF63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF63C
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF63C#FFFFFF#000000##000000
##FEF63C1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC00
Deuteranopia (green-blind)
#FFF34C
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef63c;
/* rgb */ color: rgb(254, 246, 60);
/* oklch */ color: oklch(95.0% 0.189 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff881',
    500: '#fef63c',
    950: '#000000',
  },
}
SCSS
$custom: #fef63c;
$custom-light: #fff881;
$custom-dark: #000000;
JSON
{
  "hex": "#fef63c",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 60
  },
  "hsl": {
    "h": 57.526,
    "s": 98.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.9501,
    "c": 0.18897,
    "h": 106.9
  },
  "luminance": 0.87309
}

Semantic roles & 50–950 ramp

primary
#FEF63C
secondary
#2228BC
accent
#09E600
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FEF63C

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

Preview Lab → · Contrast checker → · Palette generator →

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