#FAF89B#FAF89B

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

Color values

HEX#FAF89B
RGBrgb(250, 248, 155)
HSLhsl(59, 90%, 79%)
HSVhsv(59, 38%, 98%)
CMYKcmyk(0%, 0.8%, 38%, 2%)
CIE-LABlab(95.92, -12.51, 44.90)
CIE-LCHlch(95.92, 46.61, 105.56°)
OKLaboklab(96.05% -0.0342 0.1096)
OKLCHoklch(96.05% 0.115 107.3)
XYZxyz(78.9092, 89.8270, 44.1855)
Luminance0.8982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF89B #9B9DFA
analogous
#FAC99B #FAF89B #CDFA9B
triadic
#FAF89B #9BFAF8 #F89BFA
tetradic
#FAF89B #9BFAC9 #9B9DFA #FA9BCD
square
#FAF89B #9BFAC9 #9B9DFA #FA9BCD
split-complementary
#FAF89B #9BCDFA #C99BFA
monochromatic
#F4F026 #F7F461 #FAF89B #FDFCD5 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF89B#FFFFFF#000000##000000
##FAF89B1.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)
#FFF194
Deuteranopia (green-blind)
#FFF59F
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf89b;
/* rgb */ color: rgb(250, 248, 155);
/* oklch */ color: oklch(96.0% 0.115 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdfab9',
    500: '#faf89b',
    950: '#000000',
  },
}
SCSS
$custom: #faf89b;
$custom-light: #fdfab9;
$custom-dark: #000000;
JSON
{
  "hex": "#faf89b",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 58.737,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96049,
    "c": 0.11482,
    "h": 107.3
  },
  "luminance": 0.89825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF89B

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

Preview Lab → · Contrast checker → · Palette generator →

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