#FAF08E#FAF08E

#FAF08E is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.120 H 103.3°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FAF08E
RGBrgb(250, 240, 142)
HSLhsl(54, 92%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4%, 43.2%, 2%)
CIE-LABlab(93.71, -9.89, 48.42)
CIE-LCHlch(93.71, 49.42, 101.55°)
OKLaboklab(94.23% -0.0277 0.1169)
OKLCHoklch(94.23% 0.12 103.3)
XYZxyz(75.4685, 84.5993, 37.9398)
Luminance0.8460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF08E #8E98FA
analogous
#FABA8E #FAF08E #CEFA8E
triadic
#FAF08E #8EFAF0 #F08EFA
tetradic
#FAF08E #8EFABA #8E98FA #FA8ECE
square
#FAF08E #8EFABA #8E98FA #FA8ECE
split-complementary
#FAF08E #8ECEFA #BA8EFA
monochromatic
#F5E019 #F7E853 #FAF08E #FDF8C9 #FEFBE2

Accessibility & contrast

On white

1.17
#FAF08E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FAF08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF08E
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF08E#FFFFFF#000000##000000
##FAF08E1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA86
Deuteranopia (green-blind)
#FFEF92
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf08e;
/* rgb */ color: rgb(250, 240, 142);
/* oklch */ color: oklch(94.2% 0.120 103.3);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#faf08e',
    950: '#000000',
  },
}
SCSS
$custom: #faf08e;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf08e",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 142
  },
  "hsl": {
    "h": 54.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94234,
    "c": 0.12013,
    "h": 103.3
  },
  "luminance": 0.84597
}

Semantic roles & 50–950 ramp

primary
#FAF08E
secondary
#535FD9
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAF08E

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

Preview Lab → · Contrast checker → · Palette generator →

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