#FAF782#FAF782

#FAF782 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.140 H 107.5°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FAF782
RGBrgb(250, 247, 130)
HSLhsl(59, 92%, 75%)
HSVhsv(59, 48%, 98%)
CMYKcmyk(0%, 1.2%, 48%, 2%)
CIE-LABlab(95.35, -14.44, 56.11)
CIE-LCHlch(95.35, 57.93, 104.43°)
OKLaboklab(95.49% -0.0418 0.1331)
OKLCHoklch(95.49% 0.14 107.5)
XYZxyz(76.7161, 88.4592, 34.1479)
Luminance0.8846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF782 #8285FA
analogous
#FABB82 #FAF782 #C1FA82
triadic
#FAF782 #82FAF7 #F782FA
tetradic
#FAF782 #82FABB #8285FA #FA82C1
square
#FAF782 #82FABB #8285FA #FA82C1
split-complementary
#FAF782 #82C1FA #BB82FA
monochromatic
#F5EF0C #F8F347 #FAF782 #FCFBBD #FEFDE2

Accessibility & contrast

On white

1.12
#FAF782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#FAF782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF782
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF782#FFFFFF#000000##000000
##FAF7821.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF78
Deuteranopia (green-blind)
#FFF488
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf782;
/* rgb */ color: rgb(250, 247, 130);
/* oklch */ color: oklch(95.5% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#fef9a9',
    500: '#faf782',
    950: '#000000',
  },
}
SCSS
$custom: #faf782;
$custom-light: #fef9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#faf782",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 58.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95493,
    "c": 0.13951,
    "h": 107.5
  },
  "luminance": 0.88457
}

Semantic roles & 50–950 ramp

primary
#FAF782
secondary
#484CD8
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF782

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

Preview Lab → · Contrast checker → · Palette generator →

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