#FFFCA2#FFFCA2

#FFFCA2 is a very light, moderate yellow. Relative luminance 0.935; OKLCH L 97.4% C 0.111 H 106.7°. Best body text is #000000 at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#FFFCA2
RGBrgb(255, 252, 162)
HSLhsl(58, 100%, 82%)
HSVhsv(58, 36%, 100%)
CMYKcmyk(0%, 1.2%, 36.5%, 0%)
CIE-LABlab(97.43, -11.81, 43.48)
CIE-LCHlch(97.43, 45.06, 105.20°)
OKLaboklab(97.37% -0.0319 0.1067)
OKLCHoklch(97.37% 0.111 106.7)
XYZxyz(82.5730, 93.4912, 47.8712)
Luminance0.9349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCA2 #A2A5FF
analogous
#FFCEA2 #FFFCA2 #D3FFA2
triadic
#FFFCA2 #A2FFFC #FCA2FF
tetradic
#FFFCA2 #A2FFCE #A2A5FF #FFA2D3
square
#FFFCA2 #A2FFCE #A2A5FF #FFA2D3
split-complementary
#FFFCA2 #A2D3FF #CEA2FF
monochromatic
#FFF828 #FFFA65 #FFFCA2 #FFFEDF #FFFEE0

Accessibility & contrast

On white

1.07
#FFFCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.70
#FFFCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCA2
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCA2#FFFFFF#000000##000000
##FFFCA21.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF59B
Deuteranopia (green-blind)
#FFFAA6
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffca2;
/* rgb */ color: rgb(255, 252, 162);
/* oklch */ color: oklch(97.4% 0.111 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffdbe',
    500: '#fffca2',
    950: '#000000',
  },
}
SCSS
$custom: #fffca2;
$custom-light: #fffdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fffca2",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 162
  },
  "hsl": {
    "h": 58.065,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97368,
    "c": 0.11132,
    "h": 106.7
  },
  "luminance": 0.93489
}

Semantic roles & 50–950 ramp

primary
#FFFCA2
secondary
#6266E3
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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