#FAFA5C#FAFA5C

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

Color values

HEX#FAFA5C
RGBrgb(250, 250, 92)
HSLhsl(60, 94%, 67%)
HSVhsv(60, 63%, 98%)
CMYKcmyk(0%, 0%, 63.2%, 2%)
CIE-LABlab(95.78, -18.64, 72.90)
CIE-LCHlch(95.78, 75.24, 104.35°)
OKLaboklab(95.72% -0.0576 0.1647)
OKLCHoklch(95.72% 0.175 109.3)
XYZxyz(75.5442, 89.4700, 23.4132)
Luminance0.8947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA5C #5C5CFA
analogous
#FAAB5C #FAFA5C #ABFA5C
triadic
#FAFA5C #5CFAFA #FA5CFA
tetradic
#FAFA5C #5CFAAB #5C5CFA #FA5CAB
square
#FAFA5C #5CFAAB #5C5CFA #FA5CAB
split-complementary
#FAFA5C #5CABFA #AB5CFA
monochromatic
#D5D507 #F8F821 #FAFA5C #FCFC97 #FEFED3

Accessibility & contrast

On white

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

On black

18.89
#FAFA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA5C
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA5C#FFFFFF#000000##000000
##FAFA5C1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa5c;
/* rgb */ color: rgb(250, 250, 92);
/* oklch */ color: oklch(95.7% 0.175 109.3);
Tailwind
colors: {
  custom: {
    50: '#fffb91',
    500: '#fafa5c',
    950: '#000000',
  },
}
SCSS
$custom: #fafa5c;
$custom-light: #fffb91;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa5c",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.95717,
    "c": 0.17454,
    "h": 109.3
  },
  "luminance": 0.89468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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