#FAF26D#FAF26D

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

Color values

HEX#FAF26D
RGBrgb(250, 242, 109)
HSLhsl(57, 93%, 70%)
HSVhsv(57, 56%, 98%)
CMYKcmyk(0%, 3.2%, 56.4%, 2%)
CIE-LABlab(93.86, -13.66, 63.81)
CIE-LCHlch(93.86, 65.26, 102.09°)
OKLaboklab(94.23% -0.0418 0.1477)
OKLCHoklch(94.23% 0.153 105.8)
XYZxyz(73.9391, 84.9347, 26.9642)
Luminance0.8493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF26D #6D75FA
analogous
#FAAC6D #FAF26D #BBFA6D
triadic
#FAF26D #6DFAF2 #F26DFA
tetradic
#FAF26D #6DFAAC #6D75FA #FA6DBB
square
#FAF26D #6DFAAC #6D75FA #FA6DBB
split-complementary
#FAF26D #6DBBFA #AC6DFA
monochromatic
#E5D808 #F8ED32 #FAF26D #FCF7A8 #FEFCE1

Accessibility & contrast

On white

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

On black

17.99
#FAF26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF26D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF26D#FFFFFF#000000##000000
##FAF26D1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf26d;
/* rgb */ color: rgb(250, 242, 109);
/* oklch */ color: oklch(94.2% 0.153 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff69b',
    500: '#faf26d',
    950: '#000000',
  },
}
SCSS
$custom: #faf26d;
$custom-light: #fff69b;
$custom-dark: #000000;
JSON
{
  "hex": "#faf26d",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 109
  },
  "hsl": {
    "h": 56.596,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9423,
    "c": 0.15348,
    "h": 105.8
  },
  "luminance": 0.84932
}

Semantic roles & 50–950 ramp

primary
#FAF26D
secondary
#363FD5
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF26D

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

Preview Lab → · Contrast checker → · Palette generator →

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