Cream (survey)#FFFFC2

#FFFFC2 is a very light, moderate yellow. Relative luminance 0.967; OKLCH L 98.5% C 0.078 H 107.7°. Best body text is #000000 at 20.34:1 contrast (WCAG AA passes).

Cream (survey) — editorial page

Color values

HEX#FFFFC2
RGBrgb(255, 255, 194)
HSLhsl(60, 100%, 88%)
HSVhsv(60, 24%, 100%)
CMYKcmyk(0%, 0%, 23.9%, 0%)
CIE-LABlab(98.70, -9.42, 29.25)
CIE-LCHlch(98.70, 30.73, 107.84°)
OKLaboklab(98.55% -0.0237 0.074)
OKLCHoklch(98.55% 0.078 107.7)
XYZxyz(86.7375, 96.6762, 65.1195)
Luminance0.9667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFC2 #C2C2FF
analogous
#FFE0C2 #FFFFC2 #E0FFC2
triadic
#FFFFC2 #C2FFFF #FFC2FF
tetradic
#FFFFC2 #C2FFE0 #C2C2FF #FFC2E0
square
#FFFFC2 #C2FFE0 #C2C2FF #FFC2E0
split-complementary
#FFFFC2 #C2E0FF #E0C2FF
monochromatic
#FFFF48 #FFFF85 #FFFFC2 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.03
#FFFFC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.34
#FFFFC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFC2
20.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFC2#FFFFFF#000000##000000
##FFFFC21.001.0320.3420.34
#FFFFFF1.031.0021.0021.00
#00000020.3421.001.001.00
##00000020.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFABE
Deuteranopia (green-blind)
#FFFDC4
Tritanopia (blue-blind)
#FFF7EF
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #ffffc2;
/* rgb */ color: rgb(255, 255, 194);
/* oklch */ color: oklch(98.5% 0.078 107.7);
Tailwind
colors: {
  custom: {
    50: '#ffffd4',
    500: '#ffffc2',
    950: '#000000',
  },
}
SCSS
$custom: #ffffc2;
$custom-light: #ffffd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffc2",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 194
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.98546,
    "c": 0.07765,
    "h": 107.7
  },
  "luminance": 0.96675
}

Semantic roles & 50–950 ramp

primary
#FFFFC2
secondary
#7D7DE8
accent
#00E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181814
muted
#868683

Preview Lab

Preview with #FFFFC2

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

Preview Lab → · Contrast checker → · Palette generator →

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