#FAF070#FAF070

#FAF070 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.149 H 104.8°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FAF070
RGBrgb(250, 240, 112)
HSLhsl(56, 93%, 71%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 4%, 55.2%, 2%)
CIE-LABlab(93.37, -12.46, 61.95)
CIE-LCHlch(93.37, 63.19, 101.38°)
OKLaboklab(93.85% -0.038 0.144)
OKLCHoklch(93.85% 0.149 104.8)
XYZxyz(73.5114, 83.8164, 27.6320)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF070 #707AFA
analogous
#FAAB70 #FAF070 #BFFA70
triadic
#FAF070 #70FAF0 #F070FA
tetradic
#FAF070 #70FAAB #707AFA #FA70BF
square
#FAF070 #70FAAB #707AFA #FA70BF
split-complementary
#FAF070 #70BFFA #AB70FA
monochromatic
#E8D708 #F8EA35 #FAF070 #FCF6AB #FEFCE1

Accessibility & contrast

On white

1.18
#FAF070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#FAF070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF070
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF070#FFFFFF#000000##000000
##FAF0701.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf070;
/* rgb */ color: rgb(250, 240, 112);
/* oklch */ color: oklch(93.9% 0.149 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#faf070',
    950: '#000000',
  },
}
SCSS
$custom: #faf070;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf070",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 55.652,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93854,
    "c": 0.14897,
    "h": 104.8
  },
  "luminance": 0.83814
}

Semantic roles & 50–950 ramp

primary
#FAF070
secondary
#3944D5
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF070

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

Preview Lab → · Contrast checker → · Palette generator →

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