#FAF89C#FAF89C

#FAF89C is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 96.1% C 0.114 H 107.3°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FAF89C
RGBrgb(250, 248, 156)
HSLhsl(59, 90%, 80%)
HSVhsv(59, 38%, 98%)
CMYKcmyk(0%, 0.8%, 37.6%, 2%)
CIE-LABlab(95.94, -12.40, 44.43)
CIE-LCHlch(95.94, 46.13, 105.59°)
OKLaboklab(96.07% -0.0338 0.1086)
OKLCHoklch(96.07% 0.114 107.3)
XYZxyz(78.9936, 89.8607, 44.6297)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF89C #9C9EFA
analogous
#FAC99C #FAF89C #CDFA9C
triadic
#FAF89C #9CFAF8 #F89CFA
tetradic
#FAF89C #9CFAC9 #9C9EFA #FA9CCD
square
#FAF89C #9CFAC9 #9C9EFA #FA9CCD
split-complementary
#FAF89C #9CCDFA #C99CFA
monochromatic
#F4F027 #F7F462 #FAF89C #FDFCD6 #FEFDE2

Accessibility & contrast

On white

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

On black

18.97
#FAF89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF89C
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF89C#FFFFFF#000000##000000
##FAF89C1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF195
Deuteranopia (green-blind)
#FFF5A0
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf89c;
/* rgb */ color: rgb(250, 248, 156);
/* oklch */ color: oklch(96.1% 0.114 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdfaba',
    500: '#faf89c',
    950: '#000000',
  },
}
SCSS
$custom: #faf89c;
$custom-light: #fdfaba;
$custom-dark: #000000;
JSON
{
  "hex": "#faf89c",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 156
  },
  "hsl": {
    "h": 58.723,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96065,
    "c": 0.11374,
    "h": 107.3
  },
  "luminance": 0.89859
}

Semantic roles & 50–950 ramp

primary
#FAF89C
secondary
#5F62DB
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAF89C

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

Preview Lab → · Contrast checker → · Palette generator →

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