#FAF299#FAF299

#FAF299 is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.110 H 103.9°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FAF299
RGBrgb(250, 242, 153)
HSLhsl(55, 91%, 79%)
HSVhsv(55, 39%, 98%)
CMYKcmyk(0%, 3.2%, 38.8%, 2%)
CIE-LABlab(94.37, -9.76, 43.89)
CIE-LCHlch(94.37, 44.97, 102.54°)
OKLaboklab(94.8% -0.0264 0.1072)
OKLCHoklch(94.8% 0.11 103.9)
XYZxyz(76.9275, 86.1301, 42.7032)
Luminance0.8613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF299 #99A1FA
analogous
#FAC299 #FAF299 #D2FA99
triadic
#FAF299 #99FAF2 #F299FA
tetradic
#FAF299 #99FAC2 #99A1FA #FA99D2
square
#FAF299 #99FAC2 #99A1FA #FA99D2
split-complementary
#FAF299 #99D2FA #C299FA
monochromatic
#F4E324 #F7EB5F #FAF299 #FDF9D3 #FEFBE2

Accessibility & contrast

On white

1.15
#FAF299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#FAF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF299
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF299#FFFFFF#000000##000000
##FAF2991.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF19D
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf299;
/* rgb */ color: rgb(250, 242, 153);
/* oklch */ color: oklch(94.8% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#fdf6b8',
    500: '#faf299',
    950: '#000000',
  },
}
SCSS
$custom: #faf299;
$custom-light: #fdf6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#faf299",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 55.052,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94804,
    "c": 0.11044,
    "h": 103.9
  },
  "luminance": 0.86128
}

Semantic roles & 50–950 ramp

primary
#FAF299
secondary
#5D67DB
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF299

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

Preview Lab → · Contrast checker → · Palette generator →

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