#FAF98E#FAF98E

#FAF98E is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.130 H 108.1°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FAF98E
RGBrgb(250, 249, 142)
HSLhsl(59, 92%, 77%)
HSVhsv(59, 43%, 98%)
CMYKcmyk(0%, 0.4%, 43.2%, 2%)
CIE-LABlab(96.01, -14.31, 51.27)
CIE-LCHlch(96.01, 53.23, 105.60°)
OKLaboklab(96.06% -0.0404 0.1233)
OKLCHoklch(96.06% 0.13 108.1)
XYZxyz(78.1839, 90.0301, 38.8449)
Luminance0.9003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF98E #8E8FFA
analogous
#FAC38E #FAF98E #C5FA8E
triadic
#FAF98E #8EFAF9 #F98EFA
tetradic
#FAF98E #8EFAC3 #8E8FFA #FA8EC5
square
#FAF98E #8EFAC3 #8E8FFA #FA8EC5
split-complementary
#FAF98E #8EC5FA #C38EFA
monochromatic
#F5F319 #F7F653 #FAF98E #FDFCC9 #FEFDE2

Accessibility & contrast

On white

1.10
#FAF98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.01
#FAF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF98E
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF98E#FFFFFF#000000##000000
##FAF98E1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf98e;
/* rgb */ color: rgb(250, 249, 142);
/* oklch */ color: oklch(96.1% 0.130 108.1);
Tailwind
colors: {
  custom: {
    50: '#fefbb1',
    500: '#faf98e',
    950: '#000000',
  },
}
SCSS
$custom: #faf98e;
$custom-light: #fefbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf98e",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 59.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9606,
    "c": 0.12972,
    "h": 108.1
  },
  "luminance": 0.90028
}

Semantic roles & 50–950 ramp

primary
#FAF98E
secondary
#5354D9
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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