#FFF0AA#FFF0AA

#FFF0AA is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.1% C 0.090 H 97.5°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FFF0AA
RGBrgb(255, 240, 170)
HSLhsl(49, 100%, 83%)
HSVhsv(49, 33%, 100%)
CMYKcmyk(0%, 5.9%, 33.3%, 0%)
CIE-LABlab(94.52, -4.97, 35.72)
CIE-LCHlch(94.52, 36.06, 97.92°)
OKLaboklab(95.1% -0.0117 0.0889)
OKLCHoklch(95.1% 0.09 97.5)
XYZxyz(79.6568, 86.4846, 50.5195)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF0AA #AAB9FF
analogous
#FFC5AA #FFF0AA #E3FFAA
triadic
#FFF0AA #AAFFF0 #F0AAFF
tetradic
#FFF0AA #AAFFC5 #AAB9FF #FFAAE3
square
#FFF0AA #AAFFC5 #AAB9FF #FFAAE3
split-complementary
#FFF0AA #AAE3FF #C5AAFF
monochromatic
#FFDA30 #FFE56D #FFF0AA #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.15
#FFF0AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FFF0AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF0AA
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF0AA#FFFFFF#000000##000000
##FFF0AA1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEECA5
Deuteranopia (green-blind)
#FFF2AC
Tritanopia (blue-blind)
#FFE6DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff0aa;
/* rgb */ color: rgb(255, 240, 170);
/* oklch */ color: oklch(95.1% 0.090 97.5);
Tailwind
colors: {
  custom: {
    50: '#fff4c4',
    500: '#fff0aa',
    950: '#000000',
  },
}
SCSS
$custom: #fff0aa;
$custom-light: #fff4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff0aa",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 170
  },
  "hsl": {
    "h": 49.412,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.95104,
    "c": 0.08965,
    "h": 97.5
  },
  "luminance": 0.86482
}

Semantic roles & 50–950 ramp

primary
#FFF0AA
secondary
#697FE4
accent
#28E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFF0AA

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

Preview Lab → · Contrast checker → · Palette generator →

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