#FFF4C2#FFF4C2

#FFF4C2 is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 96.4% C 0.065 H 97.1°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FFF4C2
RGBrgb(255, 244, 194)
HSLhsl(49, 100%, 88%)
HSVhsv(49, 24%, 100%)
CMYKcmyk(0%, 4.3%, 23.9%, 0%)
CIE-LABlab(95.94, -3.95, 25.48)
CIE-LCHlch(95.94, 25.78, 98.81°)
OKLaboklab(96.36% -0.008 0.0648)
OKLCHoklch(96.36% 0.065 97.1)
XYZxyz(83.3284, 89.8580, 63.9832)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF4C2 #C2CDFF
analogous
#FFD5C2 #FFF4C2 #EBFFC2
triadic
#FFF4C2 #C2FFF4 #F4C2FF
tetradic
#FFF4C2 #C2FFD5 #C2CDFF #FFC2EB
square
#FFF4C2 #C2FFD5 #C2CDFF #FFC2EB
split-complementary
#FFF4C2 #C2EBFF #D5C2FF
monochromatic
#FFDE48 #FFE985 #FFF4C2 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

1.11
#FFF4C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#FFF4C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF4C2
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF4C2#FFFFFF#000000##000000
##FFF4C21.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF1BF
Deuteranopia (green-blind)
#FFF5C4
Tritanopia (blue-blind)
#FFEDE6
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff4c2;
/* rgb */ color: rgb(255, 244, 194);
/* oklch */ color: oklch(96.4% 0.065 97.1);
Tailwind
colors: {
  custom: {
    50: '#fff7d4',
    500: '#fff4c2',
    950: '#000000',
  },
}
SCSS
$custom: #fff4c2;
$custom-light: #fff7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff4c2",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 194
  },
  "hsl": {
    "h": 49.18,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.96362,
    "c": 0.06528,
    "h": 97.1
  },
  "luminance": 0.89856
}

Semantic roles & 50–950 ramp

primary
#FFF4C2
secondary
#7D90E8
accent
#29E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF4C2

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

Preview Lab → · Contrast checker → · Palette generator →

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