#FAF768#FAF768

#FAF768 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.163 H 108.0°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FAF768
RGBrgb(250, 247, 104)
HSLhsl(59, 94%, 69%)
HSVhsv(59, 58%, 98%)
CMYKcmyk(0%, 1.2%, 58.4%, 2%)
CIE-LABlab(95.10, -16.44, 67.32)
CIE-LCHlch(95.10, 69.30, 103.73°)
OKLaboklab(95.21% -0.0502 0.1546)
OKLCHoklch(95.21% 0.163 108)
XYZxyz(75.1861, 87.8472, 26.0897)
Luminance0.8784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF768 #686BFA
analogous
#FAAE68 #FAF768 #B4FA68
triadic
#FAF768 #68FAF7 #F768FA
tetradic
#FAF768 #68FAAE #686BFA #FA68B4
square
#FAF768 #68FAAE #686BFA #FA68B4
split-complementary
#FAF768 #68B4FA #AE68FA
monochromatic
#E0DC07 #F8F42D #FAF768 #FCFAA3 #FEFDDE

Accessibility & contrast

On white

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

On black

18.57
#FAF768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF768
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF768#FFFFFF#000000##000000
##FAF7681.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF370
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf768;
/* rgb */ color: rgb(250, 247, 104);
/* oklch */ color: oklch(95.2% 0.163 108.0);
Tailwind
colors: {
  custom: {
    50: '#fff998',
    500: '#faf768',
    950: '#000000',
  },
}
SCSS
$custom: #faf768;
$custom-light: #fff998;
$custom-dark: #000000;
JSON
{
  "hex": "#faf768",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 104
  },
  "hsl": {
    "h": 58.767,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95205,
    "c": 0.16252,
    "h": 108
  },
  "luminance": 0.87845
}

Semantic roles & 50–950 ramp

primary
#FAF768
secondary
#3235D4
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF768

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

Preview Lab → · Contrast checker → · Palette generator →

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