#FAF489#FAF489

#FAF489 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.129 H 105.8°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FAF489
RGBrgb(250, 244, 137)
HSLhsl(57, 92%, 76%)
HSVhsv(57, 45%, 98%)
CMYKcmyk(0%, 2.4%, 45.2%, 2%)
CIE-LABlab(94.67, -12.34, 51.99)
CIE-LCHlch(94.67, 53.44, 103.35°)
OKLaboklab(94.97% -0.0352 0.1245)
OKLCHoklch(94.97% 0.129 105.8)
XYZxyz(76.2920, 86.8335, 36.4038)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF489 #898FFA
analogous
#FABB89 #FAF489 #C7FA89
triadic
#FAF489 #89FAF4 #F489FA
tetradic
#FAF489 #89FABB #898FFA #FA89C7
square
#FAF489 #89FABB #898FFA #FA89C7
split-complementary
#FAF489 #89C7FA #BB89FA
monochromatic
#F5E914 #F8EF4E #FAF489 #FCF9C4 #FEFCE2

Accessibility & contrast

On white

1.14
#FAF489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#FAF489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF489
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF489#FFFFFF#000000##000000
##FAF4891.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf489;
/* rgb */ color: rgb(250, 244, 137);
/* oklch */ color: oklch(95.0% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#fef7ad',
    500: '#faf489',
    950: '#000000',
  },
}
SCSS
$custom: #faf489;
$custom-light: #fef7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#faf489",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 137
  },
  "hsl": {
    "h": 56.814,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94974,
    "c": 0.12941,
    "h": 105.8
  },
  "luminance": 0.86832
}

Semantic roles & 50–950 ramp

primary
#FAF489
secondary
#4F56D9
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF489

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

Preview Lab → · Contrast checker → · Palette generator →

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