#FAF586#FAF586

#FAF586 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.1% C 0.133 H 106.4°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#FAF586
RGBrgb(250, 245, 134)
HSLhsl(57, 92%, 75%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2%, 46.4%, 2%)
CIE-LABlab(94.89, -13.11, 53.68)
CIE-LCHlch(94.89, 55.26, 103.72°)
OKLaboklab(95.14% -0.0377 0.1281)
OKLCHoklch(95.14% 0.133 106.4)
XYZxyz(76.3815, 87.3520, 35.3867)
Luminance0.8735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF586 #868BFA
analogous
#FABB86 #FAF586 #C5FA86
triadic
#FAF586 #86FAF5 #F586FA
tetradic
#FAF586 #86FABB #868BFA #FA86C5
square
#FAF586 #86FABB #868BFA #FA86C5
split-complementary
#FAF586 #86C5FA #BB86FA
monochromatic
#F5EB10 #F8F04B #FAF586 #FCFAC1 #FEFDE2

Accessibility & contrast

On white

1.14
#FAF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#FAF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF586
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF586#FFFFFF#000000##000000
##FAF5861.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf586;
/* rgb */ color: rgb(250, 245, 134);
/* oklch */ color: oklch(95.1% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef8ab',
    500: '#faf586',
    950: '#000000',
  },
}
SCSS
$custom: #faf586;
$custom-light: #fef8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#faf586",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 57.414,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95137,
    "c": 0.13347,
    "h": 106.4
  },
  "luminance": 0.8735
}

Semantic roles & 50–950 ramp

primary
#FAF586
secondary
#4C52D8
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAF586

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

Preview Lab → · Contrast checker → · Palette generator →

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