#FAF26A#FAF26A

#FAF26A is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.156 H 105.9°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FAF26A
RGBrgb(250, 242, 106)
HSLhsl(57, 94%, 70%)
HSVhsv(57, 58%, 98%)
CMYKcmyk(0%, 3.2%, 57.6%, 2%)
CIE-LABlab(93.83, -13.88, 65.07)
CIE-LCHlch(93.83, 66.54, 102.04°)
OKLaboklab(94.2% -0.0427 0.15)
OKLCHoklch(94.2% 0.156 105.9)
XYZxyz(73.7804, 84.8712, 26.1282)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF26A #6A72FA
analogous
#FAAA6A #FAF26A #BAFA6A
triadic
#FAF26A #6AFAF2 #F26AFA
tetradic
#FAF26A #6AFAAA #6A72FA #FA6ABA
square
#FAF26A #6AFAAA #6A72FA #FA6ABA
split-complementary
#FAF26A #6ABAFA #AA6AFA
monochromatic
#E2D608 #F8ED2F #FAF26A #FCF7A5 #FEFCE0

Accessibility & contrast

On white

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

On black

17.97
#FAF26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF26A
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF26A#FFFFFF#000000##000000
##FAF26A1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5B
Deuteranopia (green-blind)
#FFF071
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf26a;
/* rgb */ color: rgb(250, 242, 106);
/* oklch */ color: oklch(94.2% 0.156 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff699',
    500: '#faf26a',
    950: '#000000',
  },
}
SCSS
$custom: #faf26a;
$custom-light: #fff699;
$custom-dark: #000000;
JSON
{
  "hex": "#faf26a",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 56.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.942,
    "c": 0.15599,
    "h": 105.9
  },
  "luminance": 0.84869
}

Semantic roles & 50–950 ramp

primary
#FAF26A
secondary
#343DD5
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF26A

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

Preview Lab → · Contrast checker → · Palette generator →

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