#FCF370#FCF370

#FCF370 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.152 H 105.3°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FCF370
RGBrgb(252, 243, 112)
HSLhsl(56, 96%, 71%)
HSVhsv(56, 56%, 99%)
CMYKcmyk(0%, 3.6%, 55.6%, 1.2%)
CIE-LABlab(94.30, -13.14, 63.04)
CIE-LCHlch(94.30, 64.40, 101.77°)
OKLaboklab(94.63% -0.0401 0.1464)
OKLCHoklch(94.63% 0.152 105.3)
XYZxyz(75.1224, 85.9689, 27.9626)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF370 #7079FC
analogous
#FCAD70 #FCF370 #BFFC70
triadic
#FCF370 #70FCF3 #F370FC
tetradic
#FCF370 #70FCAD #7079FC #FC70BF
square
#FCF370 #70FCAD #7079FC #FC70BF
split-complementary
#FCF370 #70BFFC #AD70FC
monochromatic
#EDDE05 #FBEE34 #FCF370 #FDF8AC #FEFCE1

Accessibility & contrast

On white

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

On black

18.19
#FCF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF370
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF370#FFFFFF#000000##000000
##FCF3701.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf370;
/* rgb */ color: rgb(252, 243, 112);
/* oklch */ color: oklch(94.6% 0.152 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fcf370',
    950: '#000000',
  },
}
SCSS
$custom: #fcf370;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf370",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 56.143,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94631,
    "c": 0.15174,
    "h": 105.3
  },
  "luminance": 0.85966
}

Semantic roles & 50–950 ramp

primary
#FCF370
secondary
#3843D8
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF370

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

Preview Lab → · Contrast checker → · Palette generator →

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