#FAFA7D#FAFA7D

#FAFA7D is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.147 H 108.9°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FAFA7D
RGBrgb(250, 250, 125)
HSLhsl(60, 93%, 74%)
HSVhsv(60, 50%, 98%)
CMYKcmyk(0%, 0%, 50%, 2%)
CIE-LABlab(96.07, -16.32, 59.25)
CIE-LCHlch(96.07, 61.45, 105.40°)
OKLaboklab(96.05% -0.0477 0.1395)
OKLCHoklch(96.05% 0.147 108.9)
XYZxyz(77.3134, 90.1778, 32.7314)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA7D #7D7DFA
analogous
#FABB7D #FAFA7D #BBFA7D
triadic
#FAFA7D #7DFAFA #FA7DFA
tetradic
#FAFA7D #7DFABB #7D7DFA #FA7DBB
square
#FAFA7D #7DFABB #7D7DFA #FA7DBB
split-complementary
#FAFA7D #7DBBFA #BB7DFA
monochromatic
#F3F309 #F8F842 #FAFA7D #FCFCB8 #FEFEE2

Accessibility & contrast

On white

1.10
#FAFA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.04
#FAFA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA7D
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA7D#FFFFFF#000000##000000
##FAFA7D1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF683
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa7d;
/* rgb */ color: rgb(250, 250, 125);
/* oklch */ color: oklch(96.0% 0.147 108.9);
Tailwind
colors: {
  custom: {
    50: '#fefba6',
    500: '#fafa7d',
    950: '#000000',
  },
}
SCSS
$custom: #fafa7d;
$custom-light: #fefba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa7d",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96046,
    "c": 0.14743,
    "h": 108.9
  },
  "luminance": 0.90176
}

Semantic roles & 50–950 ramp

primary
#FAFA7D
secondary
#4444D7
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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