#FAF95F#FAF95F

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

Color values

HEX#FAF95F
RGBrgb(250, 249, 95)
HSLhsl(60, 94%, 68%)
HSVhsv(60, 62%, 98%)
CMYKcmyk(0%, 0.4%, 62%, 2%)
CIE-LABlab(95.54, -17.98, 71.47)
CIE-LCHlch(95.54, 73.70, 104.12°)
OKLaboklab(95.54% -0.0555 0.1622)
OKLCHoklch(95.54% 0.171 108.9)
XYZxyz(75.3680, 88.9037, 24.0142)
Luminance0.8890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF95F #5F60FA
analogous
#FAAC5F #FAF95F #ADFA5F
triadic
#FAF95F #5FFAF9 #F95FFA
tetradic
#FAF95F #5FFAAC #5F60FA #FA5FAD
square
#FAF95F #5FFAAC #5F60FA #FA5FAD
split-complementary
#FAF95F #5FADFA #AC5FFA
monochromatic
#D8D707 #F8F724 #FAF95F #FCFB9A #FEFDD6

Accessibility & contrast

On white

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

On black

18.78
#FAF95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF95F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF95F#FFFFFF#000000##000000
##FAF95F1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf95f;
/* rgb */ color: rgb(250, 249, 95);
/* oklch */ color: oklch(95.5% 0.171 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffb93',
    500: '#faf95f',
    950: '#000000',
  },
}
SCSS
$custom: #faf95f;
$custom-light: #fffb93;
$custom-dark: #000000;
JSON
{
  "hex": "#faf95f",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 95
  },
  "hsl": {
    "h": 59.613,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95535,
    "c": 0.17139,
    "h": 108.9
  },
  "luminance": 0.88902
}

Semantic roles & 50–950 ramp

primary
#FAF95F
secondary
#2B2CD2
accent
#01E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF95F

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

Preview Lab → · Contrast checker → · Palette generator →

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