#FCF273#FCF273

#FCF273 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.148 H 104.8°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FCF273
RGBrgb(252, 242, 115)
HSLhsl(56, 96%, 72%)
HSVhsv(56, 54%, 99%)
CMYKcmyk(0%, 4%, 54.4%, 1.2%)
CIE-LABlab(94.07, -12.42, 61.46)
CIE-LCHlch(94.07, 62.70, 101.43°)
OKLaboklab(94.46% -0.0377 0.1433)
OKLCHoklch(94.46% 0.148 104.8)
XYZxyz(74.9938, 85.4399, 28.7575)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF273 #737DFC
analogous
#FCAD73 #FCF273 #C2FC73
triadic
#FCF273 #73FCF2 #F273FC
tetradic
#FCF273 #73FCAD #737DFC #FC73C2
square
#FCF273 #73FCAD #737DFC #FC73C2
split-complementary
#FCF273 #73C2FC #AD73FC
monochromatic
#EFDE05 #FBEC37 #FCF273 #FDF8AF #FEFCE1

Accessibility & contrast

On white

1.16
#FCF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#FCF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF273
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF273#FFFFFF#000000##000000
##FCF2731.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf273;
/* rgb */ color: rgb(252, 242, 115);
/* oklch */ color: oklch(94.5% 0.148 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fcf273',
    950: '#000000',
  },
}
SCSS
$custom: #fcf273;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf273",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 55.62,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94461,
    "c": 0.14815,
    "h": 104.8
  },
  "luminance": 0.85438
}

Semantic roles & 50–950 ramp

primary
#FCF273
secondary
#3B46D8
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF273

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

Preview Lab → · Contrast checker → · Palette generator →

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