#FAF577#FAF577

#FAF577 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.148 H 106.8°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FAF577
RGBrgb(250, 245, 119)
HSLhsl(58, 93%, 72%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 2%, 52.4%, 2%)
CIE-LABlab(94.72, -14.38, 60.38)
CIE-LCHlch(94.72, 62.07, 103.39°)
OKLaboklab(94.95% -0.0428 0.1414)
OKLCHoklch(94.95% 0.148 106.8)
XYZxyz(75.4086, 86.9629, 30.2624)
Luminance0.8696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF577 #777CFA
analogous
#FAB477 #FAF577 #BDFA77
triadic
#FAF577 #77FAF5 #F577FA
tetradic
#FAF577 #77FAB4 #777CFA #FA77BD
square
#FAF577 #77FAB4 #777CFA #FA77BD
split-complementary
#FAF577 #77BDFA #B477FA
monochromatic
#EEE509 #F8F13C #FAF577 #FCF9B2 #FEFDE1

Accessibility & contrast

On white

1.14
#FAF577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#FAF577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF577
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF577#FFFFFF#000000##000000
##FAF5771.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf577;
/* rgb */ color: rgb(250, 245, 119);
/* oklch */ color: oklch(95.0% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef8a2',
    500: '#faf577',
    950: '#000000',
  },
}
SCSS
$custom: #faf577;
$custom-light: #fef8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faf577",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 57.71,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94952,
    "c": 0.14772,
    "h": 106.8
  },
  "luminance": 0.86961
}

Semantic roles & 50–950 ramp

primary
#FAF577
secondary
#3F45D6
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF577

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

Preview Lab → · Contrast checker → · Palette generator →

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