#FAF765#FAF765

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

Color values

HEX#FAF765
RGBrgb(250, 247, 101)
HSLhsl(59, 94%, 69%)
HSVhsv(59, 60%, 98%)
CMYKcmyk(0%, 1.2%, 59.6%, 2%)
CIE-LABlab(95.07, -16.64, 68.54)
CIE-LCHlch(95.07, 70.54, 103.65°)
OKLaboklab(95.18% -0.0511 0.1568)
OKLCHoklch(95.18% 0.165 108)
XYZxyz(75.0364, 87.7873, 25.3014)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF765 #6568FA
analogous
#FAAD65 #FAF765 #B3FA65
triadic
#FAF765 #65FAF7 #F765FA
tetradic
#FAF765 #65FAAD #6568FA #FA65B3
square
#FAF765 #65FAAD #6568FA #FA65B3
split-complementary
#FAF765 #65B3FA #AD65FA
monochromatic
#DDD907 #F8F42A #FAF765 #FCFAA0 #FEFDDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF765#FFFFFF#000000##000000
##FAF7651.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)
#FFEE54
Deuteranopia (green-blind)
#FFF36E
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf765;
/* rgb */ color: rgb(250, 247, 101);
/* oklch */ color: oklch(95.2% 0.165 108.0);
Tailwind
colors: {
  custom: {
    50: '#fff996',
    500: '#faf765',
    950: '#000000',
  },
}
SCSS
$custom: #faf765;
$custom-light: #fff996;
$custom-dark: #000000;
JSON
{
  "hex": "#faf765",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 101
  },
  "hsl": {
    "h": 58.792,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95177,
    "c": 0.16489,
    "h": 108
  },
  "luminance": 0.87785
}

Semantic roles & 50–950 ramp

primary
#FAF765
secondary
#2F33D4
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF765

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

Preview Lab → · Contrast checker → · Palette generator →

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