#FCF74E#FCF74E

#FCF74E is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.181 H 107.7°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FCF74E
RGBrgb(252, 247, 78)
HSLhsl(58, 97%, 65%)
HSVhsv(58, 69%, 99%)
CMYKcmyk(0%, 2%, 69%, 1.2%)
CIE-LABlab(95.06, -17.13, 77.41)
CIE-LCHlch(95.06, 79.28, 102.48°)
OKLaboklab(95.16% -0.0549 0.172)
OKLCHoklch(95.16% 0.181 107.7)
XYZxyz(74.7836, 87.7695, 20.2082)
Luminance0.8777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF74E #4E53FC
analogous
#FCA04E #FCF74E #AAFC4E
triadic
#FCF74E #4EFCF7 #F74EFC
tetradic
#FCF74E #4EFCA0 #4E53FC #FC4EAA
square
#FCF74E #4EFCA0 #4E53FC #FC4EAA
split-complementary
#FCF74E #4EAAFC #A04EFC
monochromatic
#CCC603 #FBF412 #FCF74E #FDFA8A #FEFCC6

Accessibility & contrast

On white

1.13
#FCF74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FCF74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF74E
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF74E#FFFFFF#000000##000000
##FCF74E1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED32
Deuteranopia (green-blind)
#FFF45A
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf74e;
/* rgb */ color: rgb(252, 247, 78);
/* oklch */ color: oklch(95.2% 0.181 107.7);
Tailwind
colors: {
  custom: {
    50: '#fff989',
    500: '#fcf74e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf74e;
$custom-light: #fff989;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf74e",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 78
  },
  "hsl": {
    "h": 58.276,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.18054,
    "h": 107.7
  },
  "luminance": 0.87767
}

Semantic roles & 50–950 ramp

primary
#FCF74E
secondary
#272BC8
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FCF74E

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

Preview Lab → · Contrast checker → · Palette generator →

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