#FAF575#FAF575

#FAF575 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#FAF575
RGBrgb(250, 245, 117)
HSLhsl(58, 93%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 2%, 53.2%, 2%)
CIE-LABlab(94.70, -14.53, 61.25)
CIE-LCHlch(94.70, 62.95, 103.35°)
OKLaboklab(94.93% -0.0434 0.1431)
OKLCHoklch(94.93% 0.15 106.9)
XYZxyz(75.2897, 86.9153, 29.6365)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF575 #757AFA
analogous
#FAB275 #FAF575 #BDFA75
triadic
#FAF575 #75FAF5 #F575FA
tetradic
#FAF575 #75FAB2 #757AFA #FA75BD
square
#FAF575 #75FAB2 #757AFA #FA75BD
split-complementary
#FAF575 #75BDFA #B275FA
monochromatic
#ECE309 #F8F13A #FAF575 #FCF9B0 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF575#FFFFFF#000000##000000
##FAF5751.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)
#FFED68
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf575;
/* rgb */ color: rgb(250, 245, 117);
/* oklch */ color: oklch(94.9% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef8a0',
    500: '#faf575',
    950: '#000000',
  },
}
SCSS
$custom: #faf575;
$custom-light: #fef8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf575",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 117
  },
  "hsl": {
    "h": 57.744,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9493,
    "c": 0.14951,
    "h": 106.9
  },
  "luminance": 0.86913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF575

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

Preview Lab → · Contrast checker → · Palette generator →

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