#FAF84D#FAF84D

#FAF84D is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.2% C 0.182 H 108.7°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FAF84D
RGBrgb(250, 248, 77)
HSLhsl(59, 95%, 64%)
HSVhsv(59, 69%, 98%)
CMYKcmyk(0%, 0.8%, 69.2%, 2%)
CIE-LABlab(95.16, -18.47, 77.80)
CIE-LCHlch(95.16, 79.96, 103.36°)
OKLaboklab(95.19% -0.0586 0.1727)
OKLCHoklch(95.19% 0.182 108.7)
XYZxyz(74.3340, 87.9969, 20.0892)
Luminance0.8800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF84D #4D4FFA
analogous
#FAA14D #FAF84D #A6FA4D
triadic
#FAF84D #4DFAF8 #F84DFA
tetradic
#FAF84D #4DFAA1 #4D4FFA #FA4DA6
square
#FAF84D #4DFAA1 #4D4FFA #FA4DA6
split-complementary
#FAF84D #4DA6FA #A14DFA
monochromatic
#C7C506 #F8F611 #FAF84D #FCFA89 #FDFDC4

Accessibility & contrast

On white

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

On black

18.60
#FAF84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF84D
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF84D#FFFFFF#000000##000000
##FAF84D1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE30
Deuteranopia (green-blind)
#FFF459
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf84d;
/* rgb */ color: rgb(250, 248, 77);
/* oklch */ color: oklch(95.2% 0.182 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffa89',
    500: '#faf84d',
    950: '#000000',
  },
}
SCSS
$custom: #faf84d;
$custom-light: #fffa89;
$custom-dark: #000000;
JSON
{
  "hex": "#faf84d",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 77
  },
  "hsl": {
    "h": 59.306,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95193,
    "c": 0.1824,
    "h": 108.7
  },
  "luminance": 0.87995
}

Semantic roles & 50–950 ramp

primary
#FAF84D
secondary
#282AC3
accent
#03E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FAF84D

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

Preview Lab → · Contrast checker → · Palette generator →

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