#FAF574#FAF574

#FAF574 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.150 H 106.9°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FAF574
RGBrgb(250, 245, 116)
HSLhsl(58, 93%, 72%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 2%, 53.6%, 2%)
CIE-LABlab(94.69, -14.61, 61.69)
CIE-LCHlch(94.69, 63.39, 103.32°)
OKLaboklab(94.92% -0.0437 0.1439)
OKLCHoklch(94.92% 0.15 106.9)
XYZxyz(75.2313, 86.8919, 29.3285)
Luminance0.8689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF574 #7479FA
analogous
#FAB274 #FAF574 #BCFA74
triadic
#FAF574 #74FAF5 #F574FA
tetradic
#FAF574 #74FAB2 #7479FA #FA74BC
square
#FAF574 #74FAB2 #7479FA #FA74BC
split-complementary
#FAF574 #74BCFA #B274FA
monochromatic
#EBE308 #F8F139 #FAF574 #FCF9AF #FEFDE1

Accessibility & contrast

On white

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

On black

18.38
#FAF574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF574
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF574#FFFFFF#000000##000000
##FAF5741.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf574;
/* rgb */ color: rgb(250, 245, 116);
/* oklch */ color: oklch(94.9% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef8a0',
    500: '#faf574',
    950: '#000000',
  },
}
SCSS
$custom: #faf574;
$custom-light: #fef8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf574",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 57.761,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94919,
    "c": 0.1504,
    "h": 106.9
  },
  "luminance": 0.8689
}

Semantic roles & 50–950 ramp

primary
#FAF574
secondary
#3C42D6
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF574

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

Preview Lab → · Contrast checker → · Palette generator →

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