#FCE76B#FCE76B

#FCE76B is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.2% C 0.145 H 99.8°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#FCE76B
RGBrgb(252, 231, 107)
HSLhsl(51, 96%, 70%)
HSVhsv(51, 58%, 99%)
CMYKcmyk(0%, 8.3%, 57.5%, 1.2%)
CIE-LABlab(91.19, -7.57, 61.73)
CIE-LCHlch(91.19, 62.20, 96.99°)
OKLaboklab(92.15% -0.0247 0.143)
OKLCHoklch(92.15% 0.145 99.8)
XYZxyz(71.3773, 78.9117, 25.3788)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE76B #6B80FC
analogous
#FC9E6B #FCE76B #C9FC6B
triadic
#FCE76B #6BFCE7 #E76BFC
tetradic
#FCE76B #6BFC9E #6B80FC #FC6BC9
square
#FCE76B #6BFC9E #6B80FC #FC6BC9
split-complementary
#FCE76B #6BC9FC #9E6BFC
monochromatic
#E8C705 #FBDD2F #FCE76B #FDF1A7 #FEFAE1

Accessibility & contrast

On white

1.25
#FCE76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#FCE76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE76B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE76B#FFFFFF#000000##000000
##FCE76B1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15E
Deuteranopia (green-blind)
#FFE971
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce76b;
/* rgb */ color: rgb(252, 231, 107);
/* oklch */ color: oklch(92.2% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#ffee99',
    500: '#fce76b',
    950: '#000000',
  },
}
SCSS
$custom: #fce76b;
$custom-light: #ffee99;
$custom-dark: #000000;
JSON
{
  "hex": "#fce76b",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 51.31,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9215,
    "c": 0.14509,
    "h": 99.8
  },
  "luminance": 0.78909
}

Semantic roles & 50–950 ramp

primary
#FCE76B
secondary
#344CD7
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE76B

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

Preview Lab → · Contrast checker → · Palette generator →

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