#FAF080#FAF080

#FAF080 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.134 H 104.1°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FAF080
RGBrgb(250, 240, 128)
HSLhsl(55, 92%, 74%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4%, 48.8%, 2%)
CIE-LABlab(93.54, -11.18, 54.86)
CIE-LCHlch(93.54, 55.99, 101.52°)
OKLaboklab(94.04% -0.0327 0.1302)
OKLCHoklch(94.04% 0.134 104.1)
XYZxyz(74.4827, 84.2049, 32.7476)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF080 #808AFA
analogous
#FAB380 #FAF080 #C7FA80
triadic
#FAF080 #80FAF0 #F080FA
tetradic
#FAF080 #80FAB3 #808AFA #FA80C7
square
#FAF080 #80FAB3 #808AFA #FA80C7
split-complementary
#FAF080 #80C7FA #B380FA
monochromatic
#F5E20A #F8E945 #FAF080 #FCF7BB #FEFCE2

Accessibility & contrast

On white

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

On black

17.84
#FAF080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF080
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF080#FFFFFF#000000##000000
##FAF0801.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE976
Deuteranopia (green-blind)
#FFEF85
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf080;
/* rgb */ color: rgb(250, 240, 128);
/* oklch */ color: oklch(94.0% 0.134 104.1);
Tailwind
colors: {
  custom: {
    50: '#fef4a7',
    500: '#faf080',
    950: '#000000',
  },
}
SCSS
$custom: #faf080;
$custom-light: #fef4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#faf080",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 55.082,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94043,
    "c": 0.13424,
    "h": 104.1
  },
  "luminance": 0.84203
}

Semantic roles & 50–950 ramp

primary
#FAF080
secondary
#4753D7
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF080

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

Preview Lab → · Contrast checker → · Palette generator →

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