#FCF388#FCF388

#FCF388 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.129 H 104.3°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FCF388
RGBrgb(252, 243, 136)
HSLhsl(55, 95%, 76%)
HSVhsv(55, 46%, 99%)
CMYKcmyk(0%, 3.6%, 46%, 1.2%)
CIE-LABlab(94.56, -11.16, 52.37)
CIE-LCHlch(94.56, 53.55, 102.03°)
OKLaboklab(94.92% -0.032 0.1253)
OKLCHoklch(94.92% 0.129 104.3)
XYZxyz(76.6412, 86.5764, 35.9615)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF388 #8891FC
analogous
#FCB988 #FCF388 #CBFC88
triadic
#FCF388 #88FCF3 #F388FC
tetradic
#FCF388 #88FCB9 #8891FC #FC88CB
square
#FCF388 #88FCB9 #8891FC #FC88CB
split-complementary
#FCF388 #88CBFC #B988FC
monochromatic
#F9E711 #FAED4C #FCF388 #FEF9C4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.31
#FCF388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF388
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF388#FFFFFF#000000##000000
##FCF3881.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf388;
/* rgb */ color: rgb(252, 243, 136);
/* oklch */ color: oklch(94.9% 0.129 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fcf388',
    950: '#000000',
  },
}
SCSS
$custom: #fcf388;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf388",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 136
  },
  "hsl": {
    "h": 55.345,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94921,
    "c": 0.1293,
    "h": 104.3
  },
  "luminance": 0.86574
}

Semantic roles & 50–950 ramp

primary
#FCF388
secondary
#4D58DB
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF388

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

Preview Lab → · Contrast checker → · Palette generator →

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