#FCF38D#FCF38D

#FCF38D is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.124 H 104.1°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FCF38D
RGBrgb(252, 243, 141)
HSLhsl(55, 95%, 77%)
HSVhsv(55, 44%, 99%)
CMYKcmyk(0%, 3.6%, 44%, 1.2%)
CIE-LABlab(94.62, -10.69, 50.07)
CIE-LCHlch(94.62, 51.19, 102.06°)
OKLaboklab(94.99% -0.0302 0.1205)
OKLCHoklch(94.99% 0.124 104.1)
XYZxyz(77.0049, 86.7219, 37.8767)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF38D #8D96FC
analogous
#FCBC8D #FCF38D #CEFC8D
triadic
#FCF38D #8DFCF3 #F38DFC
tetradic
#FCF38D #8DFCBC #8D96FC #FC8DCE
square
#FCF38D #8DFCBC #8D96FC #FC8DCE
split-complementary
#FCF38D #8DCEFC #BC8DFC
monochromatic
#F9E616 #FAED51 #FCF38D #FEF9C9 #FEFCE1

Accessibility & contrast

On white

1.14
#FCF38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#FCF38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF38D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF38D#FFFFFF#000000##000000
##FCF38D1.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC85
Deuteranopia (green-blind)
#FFF291
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf38d;
/* rgb */ color: rgb(252, 243, 141);
/* oklch */ color: oklch(95.0% 0.124 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6b0',
    500: '#fcf38d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf38d;
$custom-light: #fff6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf38d",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 141
  },
  "hsl": {
    "h": 55.135,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9499,
    "c": 0.12421,
    "h": 104.1
  },
  "luminance": 0.8672
}

Semantic roles & 50–950 ramp

primary
#FCF38D
secondary
#515DDC
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FCF38D

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

Preview Lab → · Contrast checker → · Palette generator →

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