#FAFB62#FAFB62

#FAFB62 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.171 H 109.6°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FAFB62
RGBrgb(250, 251, 98)
HSLhsl(60, 95%, 68%)
HSVhsv(60, 61%, 98%)
CMYKcmyk(0.4%, 0%, 61%, 1.6%)
CIE-LABlab(96.08, -18.76, 70.85)
CIE-LCHlch(96.08, 73.29, 104.83°)
OKLaboklab(95.97% -0.0574 0.1613)
OKLCHoklch(95.97% 0.171 109.6)
XYZxyz(76.1284, 90.2022, 24.9535)
Luminance0.9020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB62 #6362FB
analogous
#FBAF62 #FAFB62 #ADFB62
triadic
#FAFB62 #62FAFB #FB62FA
tetradic
#FAFB62 #62FBAF #6362FB #FB62AD
square
#FAFB62 #62FBAF #6362FB #FB62AD
split-complementary
#FAFB62 #62ADFB #AF62FB
monochromatic
#DCDD06 #F8F926 #FAFB62 #FCFD9E #FEFED9

Accessibility & contrast

On white

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

On black

19.04
#FAFB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB62
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB62#FFFFFF#000000##000000
##FAFB621.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafb62;
/* rgb */ color: rgb(250, 251, 98);
/* oklch */ color: oklch(96.0% 0.171 109.6);
Tailwind
colors: {
  custom: {
    50: '#fffc95',
    500: '#fafb62',
    950: '#000000',
  },
}
SCSS
$custom: #fafb62;
$custom-light: #fffc95;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb62",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 98
  },
  "hsl": {
    "h": 60.392,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95974,
    "c": 0.17117,
    "h": 109.6
  },
  "luminance": 0.902
}

Semantic roles & 50–950 ramp

primary
#FAFB62
secondary
#2E2DD5
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFB62

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

Preview Lab → · Contrast checker → · Palette generator →

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