#FAF682#FAF682

#FAF682 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.138 H 107.0°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FAF682
RGBrgb(250, 246, 130)
HSLhsl(58, 92%, 75%)
HSVhsv(58, 48%, 98%)
CMYKcmyk(0%, 1.6%, 48%, 2%)
CIE-LABlab(95.10, -13.95, 55.80)
CIE-LCHlch(95.10, 57.52, 104.04°)
OKLaboklab(95.29% -0.0404 0.1324)
OKLCHoklch(95.29% 0.138 107)
XYZxyz(76.4112, 87.8492, 34.0462)
Luminance0.8785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF682 #8286FA
analogous
#FABA82 #FAF682 #C2FA82
triadic
#FAF682 #82FAF6 #F682FA
tetradic
#FAF682 #82FABA #8286FA #FA82C2
square
#FAF682 #82FABA #8286FA #FA82C2
split-complementary
#FAF682 #82C2FA #BA82FA
monochromatic
#F5EE0C #F8F247 #FAF682 #FCFABD #FEFDE2

Accessibility & contrast

On white

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

On black

18.57
#FAF682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF682
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF682#FFFFFF#000000##000000
##FAF6821.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE78
Deuteranopia (green-blind)
#FFF388
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf682;
/* rgb */ color: rgb(250, 246, 130);
/* oklch */ color: oklch(95.3% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#fef9a9',
    500: '#faf682',
    950: '#000000',
  },
}
SCSS
$custom: #faf682;
$custom-light: #fef9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#faf682",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 130
  },
  "hsl": {
    "h": 58,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95289,
    "c": 0.13845,
    "h": 107
  },
  "luminance": 0.87847
}

Semantic roles & 50–950 ramp

primary
#FAF682
secondary
#484DD8
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF682

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

Preview Lab → · Contrast checker → · Palette generator →

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