#FAFAA2#FAFAA2

#FAFAA2 is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.6% C 0.109 H 108.3°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FAFAA2
RGBrgb(250, 250, 162)
HSLhsl(60, 90%, 81%)
HSVhsv(60, 35%, 98%)
CMYKcmyk(0%, 0%, 35.2%, 2%)
CIE-LABlab(96.54, -12.72, 42.26)
CIE-LCHlch(96.54, 44.13, 106.75°)
OKLaboklab(96.57% -0.0343 0.1039)
OKLCHoklch(96.57% 0.109 108.3)
XYZxyz(80.1324, 91.3053, 47.5778)
Luminance0.9130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFAA2 #A2A2FA
analogous
#FACEA2 #FAFAA2 #CEFAA2
triadic
#FAFAA2 #A2FAFA #FAA2FA
tetradic
#FAFAA2 #A2FACE #A2A2FA #FAA2CE
square
#FAFAA2 #A2FACE #A2A2FA #FAA2CE
split-complementary
#FAFAA2 #A2CEFA #CEA2FA
monochromatic
#F4F42E #F7F768 #FAFAA2 #FDFDDC #FDFDE2

Accessibility & contrast

On white

1.09
#FAFAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#FAFAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFAA2
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFAA2#FFFFFF#000000##000000
##FAFAA21.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF39C
Deuteranopia (green-blind)
#FFF7A6
Tritanopia (blue-blind)
#FFF0E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafaa2;
/* rgb */ color: rgb(250, 250, 162);
/* oklch */ color: oklch(96.6% 0.109 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdfbbe',
    500: '#fafaa2',
    950: '#000000',
  },
}
SCSS
$custom: #fafaa2;
$custom-light: #fdfbbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fafaa2",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96567,
    "c": 0.10938,
    "h": 108.3
  },
  "luminance": 0.91304
}

Semantic roles & 50–950 ramp

primary
#FAFAA2
secondary
#6464DC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAFAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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