#FAF89F#FAF89F

#FAF89F is a very light, moderate yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.110 H 107.2°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FAF89F
RGBrgb(250, 248, 159)
HSLhsl(59, 90%, 80%)
HSVhsv(59, 36%, 98%)
CMYKcmyk(0%, 0.8%, 36.4%, 2%)
CIE-LABlab(95.98, -12.07, 43.02)
CIE-LCHlch(95.98, 44.68, 105.68°)
OKLaboklab(96.11% -0.0326 0.1055)
OKLCHoklch(96.11% 0.11 107.2)
XYZxyz(79.2507, 89.9636, 45.9841)
Luminance0.8996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF89F #9FA1FA
analogous
#FACA9F #FAF89F #CFFA9F
triadic
#FAF89F #9FFAF8 #F89FFA
tetradic
#FAF89F #9FFACA #9FA1FA #FA9FCF
square
#FAF89F #9FFACA #9FA1FA #FA9FCF
split-complementary
#FAF89F #9FCFFA #CA9FFA
monochromatic
#F4F02B #F7F465 #FAF89F #FDFCD9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.99
#FAF89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF89F
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF89F#FFFFFF#000000##000000
##FAF89F1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF198
Deuteranopia (green-blind)
#FFF5A3
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf89f;
/* rgb */ color: rgb(250, 248, 159);
/* oklch */ color: oklch(96.1% 0.110 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdfabc',
    500: '#faf89f',
    950: '#000000',
  },
}
SCSS
$custom: #faf89f;
$custom-light: #fdfabc;
$custom-dark: #000000;
JSON
{
  "hex": "#faf89f",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 58.681,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96113,
    "c": 0.11043,
    "h": 107.2
  },
  "luminance": 0.89962
}

Semantic roles & 50–950 ramp

primary
#FAF89F
secondary
#6264DB
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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