#FCF270#FCF270

#FCF270 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.151 H 104.9°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FCF270
RGBrgb(252, 242, 112)
HSLhsl(56, 96%, 71%)
HSVhsv(56, 56%, 99%)
CMYKcmyk(0%, 4%, 55.6%, 1.2%)
CIE-LABlab(94.04, -12.65, 62.75)
CIE-LCHlch(94.04, 64.02, 101.39°)
OKLaboklab(94.43% -0.0387 0.1457)
OKLCHoklch(94.43% 0.151 104.9)
XYZxyz(74.8240, 85.3720, 27.8631)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF270 #707AFC
analogous
#FCAC70 #FCF270 #C0FC70
triadic
#FCF270 #70FCF2 #F270FC
tetradic
#FCF270 #70FCAC #707AFC #FC70C0
square
#FCF270 #70FCAC #707AFC #FC70C0
split-complementary
#FCF270 #70C0FC #AC70FC
monochromatic
#EDDC05 #FBED34 #FCF270 #FDF7AC #FEFCE1

Accessibility & contrast

On white

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

On black

18.07
#FCF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF270
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF270#FFFFFF#000000##000000
##FCF2701.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf270;
/* rgb */ color: rgb(252, 242, 112);
/* oklch */ color: oklch(94.4% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fcf270',
    950: '#000000',
  },
}
SCSS
$custom: #fcf270;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf270",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 55.714,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94428,
    "c": 0.15077,
    "h": 104.9
  },
  "luminance": 0.8537
}

Semantic roles & 50–950 ramp

primary
#FCF270
secondary
#3844D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF270

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

Preview Lab → · Contrast checker → · Palette generator →

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