#FCEF6F#FCEF6F

#FCEF6F is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.149 H 103.5°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#FCEF6F
RGBrgb(252, 239, 111)
HSLhsl(54, 96%, 71%)
HSVhsv(54, 56%, 99%)
CMYKcmyk(0%, 5.2%, 56%, 1.2%)
CIE-LABlab(93.27, -11.25, 62.31)
CIE-LCHlch(93.27, 63.32, 100.23°)
OKLaboklab(93.81% -0.0348 0.1447)
OKLCHoklch(93.81% 0.149 103.5)
XYZxyz(73.8831, 83.5787, 27.2763)
Luminance0.8358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF6F #6F7CFC
analogous
#FCA86F #FCEF6F #C2FC6F
triadic
#FCEF6F #6FFCEF #EF6FFC
tetradic
#FCEF6F #6FFCA8 #6F7CFC #FC6FC2
square
#FCEF6F #6FFCA8 #6F7CFC #FC6FC2
split-complementary
#FCEF6F #6FC2FC #A86FFC
monochromatic
#ECD605 #FBE833 #FCEF6F #FDF6AB #FEFCE1

Accessibility & contrast

On white

1.19
#FCEF6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#FCEF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF6F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF6F#FFFFFF#000000##000000
##FCEF6F1.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef6f;
/* rgb */ color: rgb(252, 239, 111);
/* oklch */ color: oklch(93.8% 0.149 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff49c',
    500: '#fcef6f',
    950: '#000000',
  },
}
SCSS
$custom: #fcef6f;
$custom-light: #fff49c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef6f",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 111
  },
  "hsl": {
    "h": 54.468,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93808,
    "c": 0.14879,
    "h": 103.5
  },
  "luminance": 0.83576
}

Semantic roles & 50–950 ramp

primary
#FCEF6F
secondary
#3746D8
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCEF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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