#FCF674#FCF674

#FCF674 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.3% C 0.151 H 106.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FCF674
RGBrgb(252, 246, 116)
HSLhsl(57, 96%, 72%)
HSVhsv(57, 54%, 99%)
CMYKcmyk(0%, 2.4%, 54%, 1.2%)
CIE-LABlab(95.11, -14.31, 62.20)
CIE-LCHlch(95.11, 63.83, 102.95°)
OKLaboklab(95.29% -0.043 0.145)
OKLCHoklch(95.29% 0.151 106.5)
XYZxyz(76.2552, 87.8702, 29.4634)
Luminance0.8787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF674 #747AFC
analogous
#FCB274 #FCF674 #BEFC74
triadic
#FCF674 #74FCF6 #F674FC
tetradic
#FCF674 #74FCB2 #747AFC #FC74BE
square
#FCF674 #74FCB2 #747AFC #FC74BE
split-complementary
#FCF674 #74BEFC #B274FC
monochromatic
#F0E605 #FBF238 #FCF674 #FDFAB0 #FEFDE1

Accessibility & contrast

On white

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

On black

18.57
#FCF674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF674
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF674#FFFFFF#000000##000000
##FCF6741.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE67
Deuteranopia (green-blind)
#FFF47B
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf674;
/* rgb */ color: rgb(252, 246, 116);
/* oklch */ color: oklch(95.3% 0.151 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fcf674',
    950: '#000000',
  },
}
SCSS
$custom: #fcf674;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf674",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 57.353,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95286,
    "c": 0.15121,
    "h": 106.5
  },
  "luminance": 0.87868
}

Semantic roles & 50–950 ramp

primary
#FCF674
secondary
#3C43D8
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF674

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

Preview Lab → · Contrast checker → · Palette generator →

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