#FFF5AE#FFF5AE

#FFF5AE is a very light, moderate yellow. Relative luminance 0.896; OKLCH L 96.2% C 0.090 H 101.1°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FFF5AE
RGBrgb(255, 245, 174)
HSLhsl(53, 100%, 84%)
HSVhsv(53, 32%, 100%)
CMYKcmyk(0%, 3.9%, 31.8%, 0%)
CIE-LABlab(95.84, -6.99, 35.46)
CIE-LCHlch(95.84, 36.14, 101.15°)
OKLaboklab(96.17% -0.0173 0.0884)
OKLCHoklch(96.17% 0.09 101.1)
XYZxyz(81.5332, 89.6227, 53.0401)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5AE #AEB8FF
analogous
#FFCDAE #FFF5AE #E1FFAE
triadic
#FFF5AE #AEFFF5 #F5AEFF
tetradic
#FFF5AE #AEFFCD #AEB8FF #FFAEE1
square
#FFF5AE #AEFFCD #AEB8FF #FFAEE1
split-complementary
#FFF5AE #AEE1FF #CDAEFF
monochromatic
#FFE634 #FFED71 #FFF5AE #FFFBE0 #FFFBE0

Accessibility & contrast

On white

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

On black

18.92
#FFF5AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5AE
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5AE#FFFFFF#000000##000000
##FFF5AE1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A9
Deuteranopia (green-blind)
#FFF5B1
Tritanopia (blue-blind)
#FFEBE3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff5ae;
/* rgb */ color: rgb(255, 245, 174);
/* oklch */ color: oklch(96.2% 0.090 101.1);
Tailwind
colors: {
  custom: {
    50: '#fff8c6',
    500: '#fff5ae',
    950: '#000000',
  },
}
SCSS
$custom: #fff5ae;
$custom-light: #fff8c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5ae",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 174
  },
  "hsl": {
    "h": 52.593,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.9617,
    "c": 0.09007,
    "h": 101.1
  },
  "luminance": 0.89621
}

Semantic roles & 50–950 ramp

primary
#FFF5AE
secondary
#6C7BE5
accent
#1CE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFF5AE

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

Preview Lab → · Contrast checker → · Palette generator →

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