#FAF770#FAF770

#FAF770 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.156 H 107.8°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FAF770
RGBrgb(250, 247, 112)
HSLhsl(59, 93%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 1.2%, 55.2%, 2%)
CIE-LABlab(95.17, -15.88, 63.99)
CIE-LCHlch(95.17, 65.93, 103.94°)
OKLaboklab(95.29% -0.0478 0.1484)
OKLCHoklch(95.29% 0.156 107.8)
XYZxyz(75.6119, 88.0175, 28.3322)
Luminance0.8801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF770 #7073FA
analogous
#FAB270 #FAF770 #B8FA70
triadic
#FAF770 #70FAF7 #F770FA
tetradic
#FAF770 #70FAB2 #7073FA #FA70B8
square
#FAF770 #70FAB2 #7073FA #FA70B8
split-complementary
#FAF770 #70B8FA #B270FA
monochromatic
#E8E308 #F8F435 #FAF770 #FCFAAB #FEFDE1

Accessibility & contrast

On white

1.13
#FAF770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#FAF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF770
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF770#FFFFFF#000000##000000
##FAF7701.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf770;
/* rgb */ color: rgb(250, 247, 112);
/* oklch */ color: oklch(95.3% 0.156 107.8);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#faf770',
    950: '#000000',
  },
}
SCSS
$custom: #faf770;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf770",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 58.696,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95285,
    "c": 0.1559,
    "h": 107.8
  },
  "luminance": 0.88015
}

Semantic roles & 50–950 ramp

primary
#FAF770
secondary
#393CD5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF770

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

Preview Lab → · Contrast checker → · Palette generator →

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