#FAF767#FAF767

#FAF767 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.56:1 contrast (WCAG AA passes).

Color values

HEX#FAF767
RGBrgb(250, 247, 103)
HSLhsl(59, 94%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 1.2%, 58.8%, 2%)
CIE-LABlab(95.09, -16.51, 67.73)
CIE-LCHlch(95.09, 69.72, 103.70°)
OKLaboklab(95.2% -0.0505 0.1553)
OKLCHoklch(95.2% 0.163 108)
XYZxyz(75.1356, 87.8270, 25.8237)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF767 #676AFA
analogous
#FAAE67 #FAF767 #B3FA67
triadic
#FAF767 #67FAF7 #F767FA
tetradic
#FAF767 #67FAAE #676AFA #FA67B3
square
#FAF767 #67FAAE #676AFA #FA67B3
split-complementary
#FAF767 #67B3FA #AE67FA
monochromatic
#DFDB07 #F8F42C #FAF767 #FCFAA2 #FEFDDE

Accessibility & contrast

On white

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

On black

18.56
#FAF767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF767
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF767#FFFFFF#000000##000000
##FAF7671.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE57
Deuteranopia (green-blind)
#FFF36F
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf767;
/* rgb */ color: rgb(250, 247, 103);
/* oklch */ color: oklch(95.2% 0.163 108.0);
Tailwind
colors: {
  custom: {
    50: '#fff998',
    500: '#faf767',
    950: '#000000',
  },
}
SCSS
$custom: #faf767;
$custom-light: #fff998;
$custom-dark: #000000;
JSON
{
  "hex": "#faf767",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 103
  },
  "hsl": {
    "h": 58.776,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95195,
    "c": 0.16331,
    "h": 108
  },
  "luminance": 0.87825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF767

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

Preview Lab → · Contrast checker → · Palette generator →

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