#FCF460#FCF460

#FCF460 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.166 H 106.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#FCF460
RGBrgb(252, 244, 96)
HSLhsl(57, 96%, 68%)
HSVhsv(57, 62%, 99%)
CMYKcmyk(0%, 3.2%, 61.9%, 1.2%)
CIE-LABlab(94.42, -14.70, 69.93)
CIE-LCHlch(94.42, 71.46, 101.87°)
OKLaboklab(94.68% -0.0462 0.159)
OKLCHoklch(94.68% 0.166 106.2)
XYZxyz(74.6095, 86.2438, 23.7807)
Luminance0.8624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF460 #6068FC
analogous
#FCA660 #FCF460 #B6FC60
triadic
#FCF460 #60FCF4 #F460FC
tetradic
#FCF460 #60FCA6 #6068FC #FC60B6
square
#FCF460 #60FCA6 #6068FC #FC60B6
split-complementary
#FCF460 #60B6FC #A660FC
monochromatic
#DDD204 #FBF024 #FCF460 #FDF89C #FEFCD8

Accessibility & contrast

On white

1.15
#FCF460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#FCF460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF460
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF460#FFFFFF#000000##000000
##FCF4601.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4E
Deuteranopia (green-blind)
#FFF269
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf460;
/* rgb */ color: rgb(252, 244, 96);
/* oklch */ color: oklch(94.7% 0.166 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff793',
    500: '#fcf460',
    950: '#000000',
  },
}
SCSS
$custom: #fcf460;
$custom-light: #fff793;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf460",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 96
  },
  "hsl": {
    "h": 56.923,
    "s": 96.296,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9468,
    "c": 0.16557,
    "h": 106.2
  },
  "luminance": 0.86241
}

Semantic roles & 50–950 ramp

primary
#FCF460
secondary
#2B33D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF460

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

Preview Lab → · Contrast checker → · Palette generator →

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