#FAFB6E#FAFB6E

#FAFB6E is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.162 H 109.5°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FAFB6E
RGBrgb(250, 251, 110)
HSLhsl(60, 95%, 71%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0.4%, 0%, 56.2%, 1.6%)
CIE-LABlab(96.18, -17.96, 65.98)
CIE-LCHlch(96.18, 68.39, 105.23°)
OKLaboklab(96.09% -0.0539 0.1525)
OKLCHoklch(96.09% 0.162 109.5)
XYZxyz(76.7381, 90.4461, 28.1643)
Luminance0.9044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB6E #6F6EFB
analogous
#FBB66E #FAFB6E #B3FB6E
triadic
#FAFB6E #6EFAFB #FB6EFA
tetradic
#FAFB6E #6EFBB6 #6F6EFB #FB6EB3
square
#FAFB6E #6EFBB6 #6F6EFB #FB6EB3
split-complementary
#FAFB6E #6EB3FB #B66EFB
monochromatic
#E7E806 #F8F932 #FAFB6E #FCFDAA #FEFEE1

Accessibility & contrast

On white

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

On black

19.09
#FAFB6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB6E
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB6E#FFFFFF#000000##000000
##FAFB6E1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15F
Deuteranopia (green-blind)
#FFF676
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafb6e;
/* rgb */ color: rgb(250, 251, 110);
/* oklch */ color: oklch(96.1% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#fffc9c',
    500: '#fafb6e',
    950: '#000000',
  },
}
SCSS
$custom: #fafb6e;
$custom-light: #fffc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb6e",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 110
  },
  "hsl": {
    "h": 60.426,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.96087,
    "c": 0.16169,
    "h": 109.5
  },
  "luminance": 0.90444
}

Semantic roles & 50–950 ramp

primary
#FAFB6E
secondary
#3837D6
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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