#FAF85A#FAF85A

#FAF85A is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.174 H 108.6°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FAF85A
RGBrgb(250, 248, 90)
HSLhsl(59, 94%, 67%)
HSVhsv(59, 64%, 98%)
CMYKcmyk(0%, 0.8%, 64%, 2%)
CIE-LABlab(95.24, -17.79, 73.12)
CIE-LCHlch(95.24, 75.25, 103.68°)
OKLaboklab(95.29% -0.0555 0.1649)
OKLCHoklch(95.29% 0.174 108.6)
XYZxyz(74.8397, 88.1992, 22.7527)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF85A #5A5CFA
analogous
#FAA85A #FAF85A #ACFA5A
triadic
#FAF85A #5AFAF8 #F85AFA
tetradic
#FAF85A #5AFAA8 #5A5CFA #FA5AAC
square
#FAF85A #5AFAA8 #5A5CFA #FA5AAC
split-complementary
#FAF85A #5AACFA #A85AFA
monochromatic
#D3D106 #F8F51F #FAF85A #FCFB95 #FEFDD1

Accessibility & contrast

On white

1.13
#FAF85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#FAF85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF85A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF85A#FFFFFF#000000##000000
##FAF85A1.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE45
Deuteranopia (green-blind)
#FFF464
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf85a;
/* rgb */ color: rgb(250, 248, 90);
/* oklch */ color: oklch(95.3% 0.174 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffa90',
    500: '#faf85a',
    950: '#000000',
  },
}
SCSS
$custom: #faf85a;
$custom-light: #fffa90;
$custom-dark: #000000;
JSON
{
  "hex": "#faf85a",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 90
  },
  "hsl": {
    "h": 59.25,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.95288,
    "c": 0.17399,
    "h": 108.6
  },
  "luminance": 0.88197
}

Semantic roles & 50–950 ramp

primary
#FAF85A
secondary
#2A2CCE
accent
#03E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF85A

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

Preview Lab → · Contrast checker → · Palette generator →

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