#FFFAA2#FFFAA2

#FFFAA2 is a very light, moderate yellow. Relative luminance 0.922; OKLCH L 97.0% C 0.109 H 105.5°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#FFFAA2
RGBrgb(255, 250, 162)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 36%, 100%)
CMYKcmyk(0%, 2%, 36.5%, 0%)
CIE-LABlab(96.92, -10.83, 42.83)
CIE-LCHlch(96.92, 44.18, 104.19°)
OKLaboklab(96.97% -0.0291 0.1052)
OKLCHoklch(96.97% 0.109 105.5)
XYZxyz(81.9483, 92.2417, 47.6630)
Luminance0.9224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAA2 #A2A7FF
analogous
#FFCCA2 #FFFAA2 #D6FFA2
triadic
#FFFAA2 #A2FFFA #FAA2FF
tetradic
#FFFAA2 #A2FFCC #A2A7FF #FFA2D6
square
#FFFAA2 #A2FFCC #A2A7FF #FFA2D6
split-complementary
#FFFAA2 #A2D6FF #CCA2FF
monochromatic
#FFF328 #FFF765 #FFFAA2 #FFFDDF #FFFDE0

Accessibility & contrast

On white

1.08
#FFFAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.45
#FFFAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAA2
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAA2#FFFFFF#000000##000000
##FFFAA21.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49C
Deuteranopia (green-blind)
#FFF8A6
Tritanopia (blue-blind)
#FFEFE4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffaa2;
/* rgb */ color: rgb(255, 250, 162);
/* oklch */ color: oklch(97.0% 0.109 105.5);
Tailwind
colors: {
  custom: {
    50: '#fffbbe',
    500: '#fffaa2',
    950: '#000000',
  },
}
SCSS
$custom: #fffaa2;
$custom-light: #fffbbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fffaa2",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 56.774,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.96965,
    "c": 0.1091,
    "h": 105.5
  },
  "luminance": 0.9224
}

Semantic roles & 50–950 ramp

primary
#FFFAA2
secondary
#6269E3
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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