#FFF5AA#FFF5AA

#FFF5AA is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 96.1% C 0.095 H 101.5°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FFF5AA
RGBrgb(255, 245, 170)
HSLhsl(53, 100%, 83%)
HSVhsv(53, 33%, 100%)
CMYKcmyk(0%, 3.9%, 33.3%, 0%)
CIE-LABlab(95.78, -7.46, 37.38)
CIE-LCHlch(95.78, 38.12, 101.28°)
OKLaboklab(96.1% -0.0189 0.0928)
OKLCHoklch(96.1% 0.095 101.5)
XYZxyz(81.1491, 89.4690, 51.0169)
Luminance0.8947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5AA #AAB4FF
analogous
#FFCAAA #FFF5AA #DEFFAA
triadic
#FFF5AA #AAFFF5 #F5AAFF
tetradic
#FFF5AA #AAFFCA #AAB4FF #FFAADE
square
#FFF5AA #AAFFCA #AAB4FF #FFAADE
split-complementary
#FFF5AA #AADEFF #CAAAFF
monochromatic
#FFE730 #FFEE6D #FFF5AA #FFFBE0 #FFFBE0

Accessibility & contrast

On white

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

On black

18.89
#FFF5AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5AA
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5AA#FFFFFF#000000##000000
##FFF5AA1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A5
Deuteranopia (green-blind)
#FFF5AD
Tritanopia (blue-blind)
#FFEBE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff5aa;
/* rgb */ color: rgb(255, 245, 170);
/* oklch */ color: oklch(96.1% 0.095 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff8c4',
    500: '#fff5aa',
    950: '#000000',
  },
}
SCSS
$custom: #fff5aa;
$custom-light: #fff8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5aa",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 170
  },
  "hsl": {
    "h": 52.941,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.96098,
    "c": 0.09468,
    "h": 101.5
  },
  "luminance": 0.89467
}

Semantic roles & 50–950 ramp

primary
#FFF5AA
secondary
#6977E4
accent
#1BE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFF5AA

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

Preview Lab → · Contrast checker → · Palette generator →

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