#FAF26F#FAF26F

#FAF26F is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.152 H 105.7°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FAF26F
RGBrgb(250, 242, 111)
HSLhsl(57, 93%, 71%)
HSVhsv(57, 56%, 98%)
CMYKcmyk(0%, 3.2%, 55.6%, 2%)
CIE-LABlab(93.87, -13.52, 62.96)
CIE-LCHlch(93.87, 64.39, 102.12°)
OKLaboklab(94.25% -0.0412 0.1461)
OKLCHoklch(94.25% 0.152 105.7)
XYZxyz(74.0480, 84.9783, 27.5377)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF26F #6F77FA
analogous
#FAAC6F #FAF26F #BCFA6F
triadic
#FAF26F #6FFAF2 #F26FFA
tetradic
#FAF26F #6FFAAC #6F77FA #FA6FBC
square
#FAF26F #6FFAAC #6F77FA #FA6FBC
split-complementary
#FAF26F #6FBCFA #AC6FFA
monochromatic
#E7DA08 #F8ED34 #FAF26F #FCF7AA #FEFCE1

Accessibility & contrast

On white

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

On black

18.00
#FAF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF26F
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF26F#FFFFFF#000000##000000
##FAF26F1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf26f;
/* rgb */ color: rgb(250, 242, 111);
/* oklch */ color: oklch(94.3% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#faf26f',
    950: '#000000',
  },
}
SCSS
$custom: #faf26f;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#faf26f",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 56.547,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94251,
    "c": 0.15178,
    "h": 105.7
  },
  "luminance": 0.84976
}

Semantic roles & 50–950 ramp

primary
#FAF26F
secondary
#3841D5
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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