#FAF97A#FAF97A

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

Color values

HEX#FAF97A
RGBrgb(250, 249, 122)
HSLhsl(60, 93%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 51.2%, 2%)
CIE-LABlab(95.78, -16.08, 60.26)
CIE-LCHlch(95.78, 62.37, 104.94°)
OKLaboklab(95.81% -0.0473 0.1414)
OKLCHoklch(95.81% 0.149 108.5)
XYZxyz(76.8148, 89.4825, 31.6340)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF97A #7A7BFA
analogous
#FAB97A #FAF97A #BBFA7A
triadic
#FAF97A #7AFAF9 #F97AFA
tetradic
#FAF97A #7AFAB9 #7A7BFA #FA7ABB
square
#FAF97A #7AFAB9 #7A7BFA #FA7ABB
split-complementary
#FAF97A #7ABBFA #B97AFA
monochromatic
#F1EF09 #F8F63F #FAF97A #FCFCB5 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF97A#FFFFFF#000000##000000
##FAF97A1.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)
#FFF06E
Deuteranopia (green-blind)
#FFF581
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf97a;
/* rgb */ color: rgb(250, 249, 122);
/* oklch */ color: oklch(95.8% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefba4',
    500: '#faf97a',
    950: '#000000',
  },
}
SCSS
$custom: #faf97a;
$custom-light: #fefba4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf97a",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 59.531,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95805,
    "c": 0.14914,
    "h": 108.5
  },
  "luminance": 0.8948
}

Semantic roles & 50–950 ramp

primary
#FAF97A
secondary
#4143D7
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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