#FFF2AE#FFF2AE

#FFF2AE is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.6% C 0.087 H 98.6°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FFF2AE
RGBrgb(255, 242, 174)
HSLhsl(50, 100%, 84%)
HSVhsv(50, 32%, 100%)
CMYKcmyk(0%, 5.1%, 31.8%, 0%)
CIE-LABlab(95.09, -5.49, 34.46)
CIE-LCHlch(95.09, 34.89, 99.06°)
OKLaboklab(95.57% -0.013 0.086)
OKLCHoklch(95.57% 0.087 98.6)
XYZxyz(80.6330, 87.8222, 52.7400)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2AE #AEBBFF
analogous
#FFCAAE #FFF2AE #E4FFAE
triadic
#FFF2AE #AEFFF2 #F2AEFF
tetradic
#FFF2AE #AEFFCA #AEBBFF #FFAEE4
square
#FFF2AE #AEFFCA #AEBBFF #FFAEE4
split-complementary
#FFF2AE #AEE4FF #CAAEFF
monochromatic
#FFDE34 #FFE871 #FFF2AE #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.13
#FFF2AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#FFF2AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2AE
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2AE#FFFFFF#000000##000000
##FFF2AE1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA9
Deuteranopia (green-blind)
#FFF3B0
Tritanopia (blue-blind)
#FFE8E0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff2ae;
/* rgb */ color: rgb(255, 242, 174);
/* oklch */ color: oklch(95.6% 0.087 98.6);
Tailwind
colors: {
  custom: {
    50: '#fff6c6',
    500: '#fff2ae',
    950: '#000000',
  },
}
SCSS
$custom: #fff2ae;
$custom-light: #fff6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2ae",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 174
  },
  "hsl": {
    "h": 50.37,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.95574,
    "c": 0.087,
    "h": 98.6
  },
  "luminance": 0.8782
}

Semantic roles & 50–950 ramp

primary
#FFF2AE
secondary
#6C80E5
accent
#25E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFF2AE

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

Preview Lab → · Contrast checker → · Palette generator →

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