#FAF757#FAF757

#FAF757 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.175 H 108.3°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FAF757
RGBrgb(250, 247, 87)
HSLhsl(59, 94%, 66%)
HSVhsv(59, 65%, 98%)
CMYKcmyk(0%, 1.2%, 65.2%, 2%)
CIE-LABlab(94.97, -17.48, 73.97)
CIE-LCHlch(94.97, 76.01, 103.29°)
OKLaboklab(95.06% -0.0549 0.1663)
OKLCHoklch(95.06% 0.175 108.3)
XYZxyz(74.4080, 87.5359, 21.9916)
Luminance0.8753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF757 #575AFA
analogous
#FAA557 #FAF757 #ABFA57
triadic
#FAF757 #57FAF7 #F757FA
tetradic
#FAF757 #57FAA5 #575AFA #FA57AB
square
#FAF757 #57FAA5 #575AFA #FA57AB
split-complementary
#FAF757 #57ABFA #A557FA
monochromatic
#D0CD06 #F8F41C #FAF757 #FCFA92 #FEFDCE

Accessibility & contrast

On white

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

On black

18.51
#FAF757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF757
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF757#FFFFFF#000000##000000
##FAF7571.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED40
Deuteranopia (green-blind)
#FFF362
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf757;
/* rgb */ color: rgb(250, 247, 87);
/* oklch */ color: oklch(95.1% 0.175 108.3);
Tailwind
colors: {
  custom: {
    50: '#fff98e',
    500: '#faf757',
    950: '#000000',
  },
}
SCSS
$custom: #faf757;
$custom-light: #fff98e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf757",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 87
  },
  "hsl": {
    "h": 58.896,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95058,
    "c": 0.17508,
    "h": 108.3
  },
  "luminance": 0.87534
}

Semantic roles & 50–950 ramp

primary
#FAF757
secondary
#2A2DCB
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF757

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

Preview Lab → · Contrast checker → · Palette generator →

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