#FAF889#FAF889

#FAF889 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.134 H 107.8°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FAF889
RGBrgb(250, 248, 137)
HSLhsl(59, 92%, 76%)
HSVhsv(59, 45%, 98%)
CMYKcmyk(0%, 0.8%, 45.2%, 2%)
CIE-LABlab(95.69, -14.30, 53.25)
CIE-LCHlch(95.69, 55.13, 105.03°)
OKLaboklab(95.79% -0.0408 0.1273)
OKLCHoklch(95.79% 0.134 107.8)
XYZxyz(77.5087, 89.2668, 36.8093)
Luminance0.8927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF889 #898BFA
analogous
#FABF89 #FAF889 #C3FA89
triadic
#FAF889 #89FAF8 #F889FA
tetradic
#FAF889 #89FABF #898BFA #FA89C3
square
#FAF889 #89FABF #898BFA #FA89C3
split-complementary
#FAF889 #89C3FA #BF89FA
monochromatic
#F5F114 #F8F54E #FAF889 #FCFBC4 #FEFDE2

Accessibility & contrast

On white

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

On black

18.85
#FAF889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF889
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF889#FFFFFF#000000##000000
##FAF8891.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF080
Deuteranopia (green-blind)
#FFF58E
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf889;
/* rgb */ color: rgb(250, 248, 137);
/* oklch */ color: oklch(95.8% 0.134 107.8);
Tailwind
colors: {
  custom: {
    50: '#fefaad',
    500: '#faf889',
    950: '#000000',
  },
}
SCSS
$custom: #faf889;
$custom-light: #fefaad;
$custom-dark: #000000;
JSON
{
  "hex": "#faf889",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 137
  },
  "hsl": {
    "h": 58.938,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95788,
    "c": 0.13369,
    "h": 107.8
  },
  "luminance": 0.89265
}

Semantic roles & 50–950 ramp

primary
#FAF889
secondary
#4F51D9
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF889

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

Preview Lab → · Contrast checker → · Palette generator →

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