#FCF274#FCF274

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

Color values

HEX#FCF274
RGBrgb(252, 242, 116)
HSLhsl(56, 96%, 72%)
HSVhsv(56, 54%, 99%)
CMYKcmyk(0%, 4%, 54%, 1.2%)
CIE-LABlab(94.08, -12.35, 61.03)
CIE-LCHlch(94.08, 62.26, 101.44°)
OKLaboklab(94.47% -0.0374 0.1424)
OKLCHoklch(94.47% 0.147 104.7)
XYZxyz(75.0517, 85.4631, 29.0622)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF274 #747EFC
analogous
#FCAE74 #FCF274 #C2FC74
triadic
#FCF274 #74FCF2 #F274FC
tetradic
#FCF274 #74FCAE #747EFC #FC74C2
square
#FCF274 #74FCAE #747EFC #FC74C2
split-complementary
#FCF274 #74C2FC #AE74FC
monochromatic
#F0DF05 #FBEC38 #FCF274 #FDF8B0 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF274#FFFFFF#000000##000000
##FCF2741.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)
#FFEB68
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf274;
/* rgb */ color: rgb(252, 242, 116);
/* oklch */ color: oklch(94.5% 0.147 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fcf274',
    950: '#000000',
  },
}
SCSS
$custom: #fcf274;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf274",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 55.588,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94472,
    "c": 0.14727,
    "h": 104.7
  },
  "luminance": 0.85461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF274

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

Preview Lab → · Contrast checker → · Palette generator →

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