#FFF4AE#FFF4AE

#FFF4AE is a very light, moderate yellow. Relative luminance 0.890; OKLCH L 96.0% C 0.089 H 100.3°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#FFF4AE
RGBrgb(255, 244, 174)
HSLhsl(52, 100%, 84%)
HSVhsv(52, 32%, 100%)
CMYKcmyk(0%, 4.3%, 31.8%, 0%)
CIE-LABlab(95.59, -6.49, 35.13)
CIE-LCHlch(95.59, 35.72, 100.47°)
OKLaboklab(95.97% -0.0159 0.0876)
OKLCHoklch(95.97% 0.089 100.3)
XYZxyz(81.2315, 89.0193, 52.9395)
Luminance0.8902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF4AE #AEB9FF
analogous
#FFCCAE #FFF4AE #E2FFAE
triadic
#FFF4AE #AEFFF4 #F4AEFF
tetradic
#FFF4AE #AEFFCC #AEB9FF #FFAEE2
square
#FFF4AE #AEFFCC #AEB9FF #FFAEE2
split-complementary
#FFF4AE #AEE2FF #CCAEFF
monochromatic
#FFE334 #FFEC71 #FFF4AE #FFFBE0 #FFFBE0

Accessibility & contrast

On white

1.12
#FFF4AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#FFF4AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF4AE
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF4AE#FFFFFF#000000##000000
##FFF4AE1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A9
Deuteranopia (green-blind)
#FFF4B1
Tritanopia (blue-blind)
#FFEAE2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff4ae;
/* rgb */ color: rgb(255, 244, 174);
/* oklch */ color: oklch(96.0% 0.089 100.3);
Tailwind
colors: {
  custom: {
    50: '#fff7c6',
    500: '#fff4ae',
    950: '#000000',
  },
}
SCSS
$custom: #fff4ae;
$custom-light: #fff7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff4ae",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 174
  },
  "hsl": {
    "h": 51.852,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.95971,
    "c": 0.08903,
    "h": 100.3
  },
  "luminance": 0.89017
}

Semantic roles & 50–950 ramp

primary
#FFF4AE
secondary
#6C7DE5
accent
#1FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFF4AE

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

Preview Lab → · Contrast checker → · Palette generator →

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