#FCE162#FCE162

#FCE162 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.148 H 97.3°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#FCE162
RGBrgb(252, 225, 98)
HSLhsl(49, 96%, 69%)
HSVhsv(49, 61%, 99%)
CMYKcmyk(0%, 10.7%, 61.1%, 1.2%)
CIE-LABlab(89.59, -5.17, 63.88)
CIE-LCHlch(89.59, 64.09, 94.63°)
OKLaboklab(90.86% -0.0188 0.1464)
OKLCHoklch(90.86% 0.148 97.3)
XYZxyz(69.2776, 75.4309, 22.4634)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE162 #627DFC
analogous
#FC9462 #FCE162 #CAFC62
triadic
#FCE162 #62FCE1 #E162FC
tetradic
#FCE162 #62FC94 #627DFC #FC62CA
square
#FCE162 #62FC94 #627DFC #FC62CA
split-complementary
#FCE162 #62CAFC #9462FC
monochromatic
#DFB904 #FBD626 #FCE162 #FDEC9E #FEF8DA

Accessibility & contrast

On white

1.31
#FCE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#FCE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE162
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE162#FFFFFF#000000##000000
##FCE1621.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fce162;
/* rgb */ color: rgb(252, 225, 98);
/* oklch */ color: oklch(90.9% 0.148 97.3);
Tailwind
colors: {
  custom: {
    50: '#ffea93',
    500: '#fce162',
    950: '#000000',
  },
}
SCSS
$custom: #fce162;
$custom-light: #ffea93;
$custom-dark: #000000;
JSON
{
  "hex": "#fce162",
  "rgb": {
    "r": 252,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 49.481,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90856,
    "c": 0.14764,
    "h": 97.3
  },
  "luminance": 0.75428
}

Semantic roles & 50–950 ramp

primary
#FCE162
secondary
#2C4AD6
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #FCE162

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

Preview Lab → · Contrast checker → · Palette generator →

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