#FAFA6F#FAFA6F

#FAFA6F is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.160 H 109.1°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FAFA6F
RGBrgb(250, 250, 111)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0%, 55.6%, 2%)
CIE-LABlab(95.93, -17.41, 65.28)
CIE-LCHlch(95.93, 67.56, 104.93°)
OKLaboklab(95.89% -0.0522 0.1511)
OKLCHoklch(95.89% 0.16 109.1)
XYZxyz(76.4813, 89.8449, 28.3488)
Luminance0.8984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA6F #6F6FFA
analogous
#FAB46F #FAFA6F #B4FA6F
triadic
#FAFA6F #6FFAFA #FA6FFA
tetradic
#FAFA6F #6FFAB4 #6F6FFA #FA6FB4
square
#FAFA6F #6FFAB4 #6F6FFA #FA6FB4
split-complementary
#FAFA6F #6FB4FA #B46FFA
monochromatic
#E7E708 #F8F834 #FAFA6F #FCFCAA #FEFEE1

Accessibility & contrast

On white

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

On black

18.97
#FAFA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA6F
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA6F#FFFFFF#000000##000000
##FAFA6F1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa6f;
/* rgb */ color: rgb(250, 250, 111);
/* oklch */ color: oklch(95.9% 0.160 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fafa6f',
    950: '#000000',
  },
}
SCSS
$custom: #fafa6f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa6f",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95891,
    "c": 0.15982,
    "h": 109.1
  },
  "luminance": 0.89843
}

Semantic roles & 50–950 ramp

primary
#FAFA6F
secondary
#3838D5
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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