#FAF559#FAF559

#FAF559 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.172 H 107.5°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FAF559
RGBrgb(250, 245, 89)
HSLhsl(58, 94%, 66%)
HSVhsv(58, 64%, 98%)
CMYKcmyk(0%, 2%, 64.4%, 2%)
CIE-LABlab(94.46, -16.40, 72.69)
CIE-LCHlch(94.46, 74.52, 102.71°)
OKLaboklab(94.66% -0.0516 0.1639)
OKLCHoklch(94.66% 0.172 107.5)
XYZxyz(73.8825, 86.3524, 22.2251)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF559 #595EFA
analogous
#FAA559 #FAF559 #AFFA59
triadic
#FAF559 #59FAF5 #F559FA
tetradic
#FAF559 #59FAA5 #595EFA #FA59AF
square
#FAF559 #59FAA5 #595EFA #FA59AF
split-complementary
#FAF559 #59AFFA #A559FA
monochromatic
#D2CC06 #F8F11E #FAF559 #FCF994 #FEFCD0

Accessibility & contrast

On white

1.15
#FAF559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#FAF559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF559
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF559#FFFFFF#000000##000000
##FAF5591.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC44
Deuteranopia (green-blind)
#FFF263
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf559;
/* rgb */ color: rgb(250, 245, 89);
/* oklch */ color: oklch(94.7% 0.172 107.5);
Tailwind
colors: {
  custom: {
    50: '#fff88f',
    500: '#faf559',
    950: '#000000',
  },
}
SCSS
$custom: #faf559;
$custom-light: #fff88f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf559",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 89
  },
  "hsl": {
    "h": 58.137,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94662,
    "c": 0.1718,
    "h": 107.5
  },
  "luminance": 0.8635
}

Semantic roles & 50–950 ramp

primary
#FAF559
secondary
#2A2FCD
accent
#07E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF559

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

Preview Lab → · Contrast checker → · Palette generator →

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