#FAFA4D#FAFA4D

#FAFA4D is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.184 H 109.4°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FAFA4D
RGBrgb(250, 250, 77)
HSLhsl(60, 95%, 64%)
HSVhsv(60, 69%, 98%)
CMYKcmyk(0%, 0%, 69.2%, 2%)
CIE-LABlab(95.68, -19.43, 78.30)
CIE-LCHlch(95.68, 80.68, 103.94°)
OKLaboklab(95.61% -0.0613 0.1738)
OKLCHoklch(95.61% 0.184 109.4)
XYZxyz(74.9521, 89.2332, 20.2953)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA4D #4D4DFA
analogous
#FAA44D #FAFA4D #A4FA4D
triadic
#FAFA4D #4DFAFA #FA4DFA
tetradic
#FAFA4D #4DFAA4 #4D4DFA #FA4DA4
square
#FAFA4D #4DFAA4 #4D4DFA #FA4DA4
split-complementary
#FAFA4D #4DA4FA #A44DFA
monochromatic
#C7C706 #F8F811 #FAFA4D #FCFC89 #FDFDC4

Accessibility & contrast

On white

1.11
#FAFA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#FAFA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA4D
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA4D#FFFFFF#000000##000000
##FAFA4D1.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02F
Deuteranopia (green-blind)
#FFF55A
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa4d;
/* rgb */ color: rgb(250, 250, 77);
/* oklch */ color: oklch(95.6% 0.184 109.4);
Tailwind
colors: {
  custom: {
    50: '#fffb89',
    500: '#fafa4d',
    950: '#000000',
  },
}
SCSS
$custom: #fafa4d;
$custom-light: #fffb89;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa4d",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95606,
    "c": 0.18429,
    "h": 109.4
  },
  "luminance": 0.89231
}

Semantic roles & 50–950 ramp

primary
#FAFA4D
secondary
#2828C3
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FAFA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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