#FAF89E#FAF89E

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

Color values

HEX#FAF89E
RGBrgb(250, 248, 158)
HSLhsl(59, 90%, 80%)
HSVhsv(59, 37%, 98%)
CMYKcmyk(0%, 0.8%, 36.8%, 2%)
CIE-LABlab(95.97, -12.18, 43.49)
CIE-LCHlch(95.97, 45.16, 105.65°)
OKLaboklab(96.1% -0.033 0.1065)
OKLCHoklch(96.1% 0.112 107.2)
XYZxyz(79.1643, 89.9290, 45.5289)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF89E #9EA0FA
analogous
#FACA9E #FAF89E #CEFA9E
triadic
#FAF89E #9EFAF8 #F89EFA
tetradic
#FAF89E #9EFACA #9EA0FA #FA9ECE
square
#FAF89E #9EFACA #9EA0FA #FA9ECE
split-complementary
#FAF89E #9ECEFA #CA9EFA
monochromatic
#F4F02A #F7F464 #FAF89E #FDFCD8 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF89E#FFFFFF#000000##000000
##FAF89E1.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)
#FFF197
Deuteranopia (green-blind)
#FFF5A2
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf89e;
/* rgb */ color: rgb(250, 248, 158);
/* oklch */ color: oklch(96.1% 0.112 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdfabb',
    500: '#faf89e',
    950: '#000000',
  },
}
SCSS
$custom: #faf89e;
$custom-light: #fdfabb;
$custom-dark: #000000;
JSON
{
  "hex": "#faf89e",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 158
  },
  "hsl": {
    "h": 58.696,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.96097,
    "c": 0.11153,
    "h": 107.2
  },
  "luminance": 0.89927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF89E

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

Preview Lab → · Contrast checker → · Palette generator →

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