#FAF856#FAF856

#FAF856 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.177 H 108.6°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#FAF856
RGBrgb(250, 248, 86)
HSLhsl(59, 94%, 66%)
HSVhsv(59, 66%, 98%)
CMYKcmyk(0%, 0.8%, 65.6%, 2%)
CIE-LABlab(95.22, -18.02, 74.61)
CIE-LCHlch(95.22, 76.75, 103.58°)
OKLaboklab(95.26% -0.0565 0.1674)
OKLCHoklch(95.26% 0.177 108.6)
XYZxyz(74.6740, 88.1329, 21.8801)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF856 #5658FA
analogous
#FAA656 #FAF856 #AAFA56
triadic
#FAF856 #56FAF8 #F856FA
tetradic
#FAF856 #56FAA6 #5658FA #FA56AA
square
#FAF856 #56FAA6 #5658FA #FA56AA
split-complementary
#FAF856 #56AAFA #A656FA
monochromatic
#CFCD06 #F8F61B #FAF856 #FCFA91 #FEFDCD

Accessibility & contrast

On white

1.13
#FAF856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#FAF856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF856
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF856#FFFFFF#000000##000000
##FAF8561.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE3F
Deuteranopia (green-blind)
#FFF461
Tritanopia (blue-blind)
#FFE9D7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf856;
/* rgb */ color: rgb(250, 248, 86);
/* oklch */ color: oklch(95.3% 0.177 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffa8e',
    500: '#faf856',
    950: '#000000',
  },
}
SCSS
$custom: #faf856;
$custom-light: #fffa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf856",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 86
  },
  "hsl": {
    "h": 59.268,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.95257,
    "c": 0.17671,
    "h": 108.6
  },
  "luminance": 0.88131
}

Semantic roles & 50–950 ramp

primary
#FAF856
secondary
#2A2CCB
accent
#03E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF856

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

Preview Lab → · Contrast checker → · Palette generator →

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