#FCE97E#FCE97E

#FCE97E is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.8% C 0.130 H 99.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#FCE97E
RGBrgb(252, 233, 126)
HSLhsl(51, 95%, 74%)
HSVhsv(51, 50%, 99%)
CMYKcmyk(0%, 7.5%, 50%, 1.2%)
CIE-LABlab(91.90, -7.09, 53.87)
CIE-LCHlch(91.90, 54.33, 97.50°)
OKLaboklab(92.78% -0.0213 0.1278)
OKLCHoklch(92.78% 0.13 99.4)
XYZxyz(73.0519, 80.4823, 31.4212)
Luminance0.8048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE97E #7E91FC
analogous
#FCAA7E #FCE97E #D0FC7E
triadic
#FCE97E #7EFCE9 #E97EFC
tetradic
#FCE97E #7EFCAA #7E91FC #FC7ED0
square
#FCE97E #7EFCAA #7E91FC #FC7ED0
split-complementary
#FCE97E #7ED0FC #AA7EFC
monochromatic
#F9D506 #FBDF42 #FCE97E #FDF3BA #FEFAE1

Accessibility & contrast

On white

1.23
#FCE97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#FCE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE97E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE97E#FFFFFF#000000##000000
##FCE97E1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE475
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce97e;
/* rgb */ color: rgb(252, 233, 126);
/* oklch */ color: oklch(92.8% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fce97e',
    950: '#000000',
  },
}
SCSS
$custom: #fce97e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fce97e",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 50.952,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92775,
    "c": 0.12957,
    "h": 99.4
  },
  "luminance": 0.8048
}

Semantic roles & 50–950 ramp

primary
#FCE97E
secondary
#445BDA
accent
#23E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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