#FFF7AA#FFF7AA

#FFF7AA is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.5% C 0.097 H 103.0°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#FFF7AA
RGBrgb(255, 247, 170)
HSLhsl(54, 100%, 83%)
HSVhsv(54, 33%, 100%)
CMYKcmyk(0%, 3.1%, 33.3%, 0%)
CIE-LABlab(96.28, -8.45, 38.04)
CIE-LCHlch(96.28, 38.97, 102.52°)
OKLaboklab(96.5% -0.0218 0.0943)
OKLCHoklch(96.5% 0.097 103)
XYZxyz(81.7574, 90.6856, 51.2197)
Luminance0.9068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7AA #AAB2FF
analogous
#FFCCAA #FFF7AA #DCFFAA
triadic
#FFF7AA #AAFFF7 #F7AAFF
tetradic
#FFF7AA #AAFFCC #AAB2FF #FFAADC
square
#FFF7AA #AAFFCC #AAB2FF #FFAADC
split-complementary
#FFF7AA #AADCFF #CCAAFF
monochromatic
#FFEB30 #FFF16D #FFF7AA #FFFCE0 #FFFCE0

Accessibility & contrast

On white

1.10
#FFF7AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.14
#FFF7AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7AA
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7AA#FFFFFF#000000##000000
##FFF7AA1.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A5
Deuteranopia (green-blind)
#FFF6AD
Tritanopia (blue-blind)
#FFEDE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff7aa;
/* rgb */ color: rgb(255, 247, 170);
/* oklch */ color: oklch(96.5% 0.097 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff9c4',
    500: '#fff7aa',
    950: '#000000',
  },
}
SCSS
$custom: #fff7aa;
$custom-light: #fff9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7aa",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 170
  },
  "hsl": {
    "h": 54.353,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.96498,
    "c": 0.09681,
    "h": 103
  },
  "luminance": 0.90684
}

Semantic roles & 50–950 ramp

primary
#FFF7AA
secondary
#6974E4
accent
#16E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFF7AA

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

Preview Lab → · Contrast checker → · Palette generator →

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