#FAF95D#FAF95D

#FAF95D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.5% C 0.173 H 108.9°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FAF95D
RGBrgb(250, 249, 93)
HSLhsl(60, 94%, 67%)
HSVhsv(60, 63%, 98%)
CMYKcmyk(0%, 0.4%, 62.8%, 2%)
CIE-LABlab(95.53, -18.10, 72.25)
CIE-LCHlch(95.53, 74.48, 104.07°)
OKLaboklab(95.52% -0.056 0.1635)
OKLCHoklch(95.52% 0.173 108.9)
XYZxyz(75.2783, 88.8678, 23.5416)
Luminance0.8887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF95D #5D5EFA
analogous
#FAAB5D #FAF95D #ACFA5D
triadic
#FAF95D #5DFAF9 #F95DFA
tetradic
#FAF95D #5DFAAB #5D5EFA #FA5DAC
square
#FAF95D #5DFAAB #5D5EFA #FA5DAC
split-complementary
#FAF95D #5DACFA #AB5DFA
monochromatic
#D6D507 #F8F722 #FAF95D #FCFB98 #FEFDD4

Accessibility & contrast

On white

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

On black

18.77
#FAF95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF95D
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF95D#FFFFFF#000000##000000
##FAF95D1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF49
Deuteranopia (green-blind)
#FFF567
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf95d;
/* rgb */ color: rgb(250, 249, 93);
/* oklch */ color: oklch(95.5% 0.173 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffb92',
    500: '#faf95d',
    950: '#000000',
  },
}
SCSS
$custom: #faf95d;
$custom-light: #fffb92;
$custom-dark: #000000;
JSON
{
  "hex": "#faf95d",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 93
  },
  "hsl": {
    "h": 59.618,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.95518,
    "c": 0.17284,
    "h": 108.9
  },
  "luminance": 0.88866
}

Semantic roles & 50–950 ramp

primary
#FAF95D
secondary
#2B2CD0
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF95D

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

Preview Lab → · Contrast checker → · Palette generator →

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