#FAF96E#FAF96E

#FAF96E is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.160 H 108.7°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FAF96E
RGBrgb(250, 249, 110)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0.4%, 56%, 2%)
CIE-LABlab(95.67, -17.00, 65.41)
CIE-LCHlch(95.67, 67.58, 104.57°)
OKLaboklab(95.68% -0.0511 0.1512)
OKLCHoklch(95.68% 0.16 108.7)
XYZxyz(76.1166, 89.2032, 27.9572)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF96E #6E6FFA
analogous
#FAB36E #FAF96E #B5FA6E
triadic
#FAF96E #6EFAF9 #F96EFA
tetradic
#FAF96E #6EFAB3 #6E6FFA #FA6EB5
square
#FAF96E #6EFAB3 #6E6FFA #FA6EB5
split-complementary
#FAF96E #6EB5FA #B36EFA
monochromatic
#E6E408 #F8F733 #FAF96E #FCFBA9 #FEFEE1

Accessibility & contrast

On white

1.11
#FAF96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#FAF96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF96E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF96E#FFFFFF#000000##000000
##FAF96E1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05F
Deuteranopia (green-blind)
#FFF576
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf96e;
/* rgb */ color: rgb(250, 249, 110);
/* oklch */ color: oklch(95.7% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9c',
    500: '#faf96e',
    950: '#000000',
  },
}
SCSS
$custom: #faf96e;
$custom-light: #fffb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#faf96e",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 59.571,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95675,
    "c": 0.15964,
    "h": 108.7
  },
  "luminance": 0.89201
}

Semantic roles & 50–950 ramp

primary
#FAF96E
secondary
#3738D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF96E

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

Preview Lab → · Contrast checker → · Palette generator →

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