#FAF89D#FAF89D

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

Color values

HEX#FAF89D
RGBrgb(250, 248, 157)
HSLhsl(59, 90%, 80%)
HSVhsv(59, 37%, 98%)
CMYKcmyk(0%, 0.8%, 37.2%, 2%)
CIE-LABlab(95.95, -12.29, 43.96)
CIE-LCHlch(95.95, 45.65, 105.62°)
OKLaboklab(96.08% -0.0334 0.1076)
OKLCHoklch(96.08% 0.113 107.3)
XYZxyz(79.0786, 89.8948, 45.0774)
Luminance0.8989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF89D #9D9FFA
analogous
#FACA9D #FAF89D #CDFA9D
triadic
#FAF89D #9DFAF8 #F89DFA
tetradic
#FAF89D #9DFACA #9D9FFA #FA9DCD
square
#FAF89D #9DFACA #9D9FFA #FA9DCD
split-complementary
#FAF89D #9DCDFA #CA9DFA
monochromatic
#F4F029 #F7F463 #FAF89D #FDFCD7 #FEFDE2

Accessibility & contrast

On white

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

On black

18.98
#FAF89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF89D
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF89D#FFFFFF#000000##000000
##FAF89D1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf89d;
/* rgb */ color: rgb(250, 248, 157);
/* oklch */ color: oklch(96.1% 0.113 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdfabb',
    500: '#faf89d',
    950: '#000000',
  },
}
SCSS
$custom: #faf89d;
$custom-light: #fdfabb;
$custom-dark: #000000;
JSON
{
  "hex": "#faf89d",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 58.71,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96081,
    "c": 0.11264,
    "h": 107.3
  },
  "luminance": 0.89893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF89D

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

Preview Lab → · Contrast checker → · Palette generator →

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