#FAFA74#FAFA74

#FAFA74 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.9% C 0.156 H 109.0°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FAFA74
RGBrgb(250, 250, 116)
HSLhsl(60, 93%, 72%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0%, 0%, 53.6%, 2%)
CIE-LABlab(95.98, -17.04, 63.16)
CIE-LCHlch(95.98, 65.42, 105.10°)
OKLaboklab(95.94% -0.0506 0.1471)
OKLCHoklch(95.94% 0.156 109)
XYZxyz(76.7643, 89.9581, 29.8395)
Luminance0.8996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA74 #7474FA
analogous
#FAB774 #FAFA74 #B7FA74
triadic
#FAFA74 #74FAFA #FA74FA
tetradic
#FAFA74 #74FAB7 #7474FA #FA74B7
square
#FAFA74 #74FAB7 #7474FA #FA74B7
split-complementary
#FAFA74 #74B7FA #B774FA
monochromatic
#EBEB08 #F8F839 #FAFA74 #FCFCAF #FEFEE1

Accessibility & contrast

On white

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

On black

18.99
#FAFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA74
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA74#FFFFFF#000000##000000
##FAFA741.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF166
Deuteranopia (green-blind)
#FFF67B
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa74;
/* rgb */ color: rgb(250, 250, 116);
/* oklch */ color: oklch(95.9% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefba0',
    500: '#fafa74',
    950: '#000000',
  },
}
SCSS
$custom: #fafa74;
$custom-light: #fefba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa74",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95944,
    "c": 0.15554,
    "h": 109
  },
  "luminance": 0.89956
}

Semantic roles & 50–950 ramp

primary
#FAFA74
secondary
#3C3CD6
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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