#FAFB5E#FAFB5E

#FAFB5E is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 95.9% C 0.174 H 109.6°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FAFB5E
RGBrgb(250, 251, 94)
HSLhsl(60, 95%, 68%)
HSVhsv(60, 63%, 98%)
CMYKcmyk(0.4%, 0%, 62.5%, 1.6%)
CIE-LABlab(96.05, -19.01, 72.40)
CIE-LCHlch(96.05, 74.86, 104.71°)
OKLaboklab(95.94% -0.0585 0.164)
OKLCHoklch(95.94% 0.174 109.6)
XYZxyz(75.9443, 90.1286, 23.9835)
Luminance0.9013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB5E #5F5EFB
analogous
#FBAD5E #FAFB5E #ACFB5E
triadic
#FAFB5E #5EFAFB #FB5EFA
tetradic
#FAFB5E #5EFBAD #5F5EFB #FB5EAC
square
#FAFB5E #5EFBAD #5F5EFB #FB5EAC
split-complementary
#FAFB5E #5EACFB #AD5EFB
monochromatic
#D8D905 #F8FA22 #FAFB5E #FCFC9A #FEFED5

Accessibility & contrast

On white

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

On black

19.03
#FAFB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB5E
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB5E#FFFFFF#000000##000000
##FAFB5E1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14A
Deuteranopia (green-blind)
#FFF668
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafb5e;
/* rgb */ color: rgb(250, 251, 94);
/* oklch */ color: oklch(95.9% 0.174 109.6);
Tailwind
colors: {
  custom: {
    50: '#fffc93',
    500: '#fafb5e',
    950: '#000000',
  },
}
SCSS
$custom: #fafb5e;
$custom-light: #fffc93;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb5e",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 94
  },
  "hsl": {
    "h": 60.382,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9594,
    "c": 0.1741,
    "h": 109.6
  },
  "luminance": 0.90127
}

Semantic roles & 50–950 ramp

primary
#FAFB5E
secondary
#2B2AD3
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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