#FAF470#FAF470

#FAF470 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.153 H 106.6°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FAF470
RGBrgb(250, 244, 112)
HSLhsl(57, 93%, 71%)
HSVhsv(57, 55%, 98%)
CMYKcmyk(0%, 2.4%, 55.2%, 2%)
CIE-LABlab(94.40, -14.42, 63.11)
CIE-LCHlch(94.40, 64.74, 102.87°)
OKLaboklab(94.67% -0.0436 0.1465)
OKLCHoklch(94.67% 0.153 106.6)
XYZxyz(74.7019, 86.1975, 28.0288)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF470 #7076FA
analogous
#FAAF70 #FAF470 #BBFA70
triadic
#FAF470 #70FAF4 #F470FA
tetradic
#FAF470 #70FAAF #7076FA #FA70BB
square
#FAF470 #70FAAF #7076FA #FA70BB
split-complementary
#FAF470 #70BBFA #AF70FA
monochromatic
#E8DE08 #F8EF35 #FAF470 #FCF9AB #FEFDE1

Accessibility & contrast

On white

1.15
#FAF470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FAF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF470
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF470#FFFFFF#000000##000000
##FAF4701.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf470;
/* rgb */ color: rgb(250, 244, 112);
/* oklch */ color: oklch(94.7% 0.153 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff79d',
    500: '#faf470',
    950: '#000000',
  },
}
SCSS
$custom: #faf470;
$custom-light: #fff79d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf470",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 57.391,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94671,
    "c": 0.15289,
    "h": 106.6
  },
  "luminance": 0.86195
}

Semantic roles & 50–950 ramp

primary
#FAF470
secondary
#3940D5
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF470

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

Preview Lab → · Contrast checker → · Palette generator →

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