#FCF167#FCF167

#FCF167 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.157 H 104.7°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FCF167
RGBrgb(252, 241, 103)
HSLhsl(56, 96%, 70%)
HSVhsv(56, 59%, 99%)
CMYKcmyk(0%, 4.4%, 59.1%, 1.2%)
CIE-LABlab(93.71, -12.79, 66.26)
CIE-LCHlch(93.71, 67.49, 100.92°)
OKLaboklab(94.13% -0.04 0.1521)
OKLCHoklch(94.13% 0.157 104.7)
XYZxyz(74.0509, 84.5879, 25.2557)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF167 #6772FC
analogous
#FCA667 #FCF167 #BDFC67
triadic
#FCF167 #67FCF1 #F167FC
tetradic
#FCF167 #67FCA6 #6772FC #FC67BD
square
#FCF167 #67FCA6 #6772FC #FC67BD
split-complementary
#FCF167 #67BDFC #A667FC
monochromatic
#E4D405 #FBEB2B #FCF167 #FDF7A3 #FEFCDF

Accessibility & contrast

On white

1.17
#FCF167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FCF167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF167
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF167#FFFFFF#000000##000000
##FCF1671.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE958
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf167;
/* rgb */ color: rgb(252, 241, 103);
/* oklch */ color: oklch(94.1% 0.157 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff597',
    500: '#fcf167',
    950: '#000000',
  },
}
SCSS
$custom: #fcf167;
$custom-light: #fff597;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf167",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 103
  },
  "hsl": {
    "h": 55.57,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94133,
    "c": 0.15732,
    "h": 104.7
  },
  "luminance": 0.84585
}

Semantic roles & 50–950 ramp

primary
#FCF167
secondary
#313DD7
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF167

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

Preview Lab → · Contrast checker → · Palette generator →

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