#FAFA5D#FAFA5D

#FAFA5D is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.7% C 0.174 H 109.3°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FAFA5D
RGBrgb(250, 250, 93)
HSLhsl(60, 94%, 67%)
HSVhsv(60, 63%, 98%)
CMYKcmyk(0%, 0%, 62.8%, 2%)
CIE-LABlab(95.78, -18.58, 72.52)
CIE-LCHlch(95.78, 74.86, 104.37°)
OKLaboklab(95.73% -0.0574 0.1641)
OKLCHoklch(95.73% 0.174 109.3)
XYZxyz(75.5882, 89.4876, 23.6449)
Luminance0.8949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA5D #5D5DFA
analogous
#FAAC5D #FAFA5D #ACFA5D
triadic
#FAFA5D #5DFAFA #FA5DFA
tetradic
#FAFA5D #5DFAAC #5D5DFA #FA5DAC
square
#FAFA5D #5DFAAC #5D5DFA #FA5DAC
split-complementary
#FAFA5D #5DACFA #AC5DFA
monochromatic
#D6D607 #F8F822 #FAFA5D #FCFC98 #FEFED4

Accessibility & contrast

On white

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

On black

18.90
#FAFA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA5D
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA5D#FFFFFF#000000##000000
##FAFA5D1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF048
Deuteranopia (green-blind)
#FFF567
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa5d;
/* rgb */ color: rgb(250, 250, 93);
/* oklch */ color: oklch(95.7% 0.174 109.3);
Tailwind
colors: {
  custom: {
    50: '#fffb92',
    500: '#fafa5d',
    950: '#000000',
  },
}
SCSS
$custom: #fafa5d;
$custom-light: #fffb92;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa5d",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.95725,
    "c": 0.17383,
    "h": 109.3
  },
  "luminance": 0.89486
}

Semantic roles & 50–950 ramp

primary
#FAFA5D
secondary
#2B2BD0
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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