#FAF561#FAF561

#FAF561 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.166 H 107.3°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FAF561
RGBrgb(250, 245, 97)
HSLhsl(58, 94%, 68%)
HSVhsv(58, 61%, 98%)
CMYKcmyk(0%, 2%, 61.2%, 2%)
CIE-LABlab(94.52, -15.93, 69.59)
CIE-LCHlch(94.52, 71.39, 102.89°)
OKLaboklab(94.73% -0.0495 0.1585)
OKLCHoklch(94.73% 0.166 107.3)
XYZxyz(74.2369, 86.4942, 24.0915)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF561 #6166FA
analogous
#FAA861 #FAF561 #B3FA61
triadic
#FAF561 #61FAF5 #F561FA
tetradic
#FAF561 #61FAA8 #6166FA #FA61B3
square
#FAF561 #61FAA8 #6166FA #FA61B3
split-complementary
#FAF561 #61B3FA #A861FA
monochromatic
#DAD307 #F8F126 #FAF561 #FCF99C #FEFDD8

Accessibility & contrast

On white

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

On black

18.30
#FAF561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF561
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF561#FFFFFF#000000##000000
##FAF5611.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4F
Deuteranopia (green-blind)
#FFF26A
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf561;
/* rgb */ color: rgb(250, 245, 97);
/* oklch */ color: oklch(94.7% 0.166 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff894',
    500: '#faf561',
    950: '#000000',
  },
}
SCSS
$custom: #faf561;
$custom-light: #fff894;
$custom-dark: #000000;
JSON
{
  "hex": "#faf561",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 97
  },
  "hsl": {
    "h": 58.039,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94729,
    "c": 0.166,
    "h": 107.3
  },
  "luminance": 0.86492
}

Semantic roles & 50–950 ramp

primary
#FAF561
secondary
#2C31D3
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF561

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

Preview Lab → · Contrast checker → · Palette generator →

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