#FAF475#FAF475

#FAF475 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.148 H 106.4°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FAF475
RGBrgb(250, 244, 117)
HSLhsl(57, 93%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.4%, 53.2%, 2%)
CIE-LABlab(94.45, -14.05, 60.96)
CIE-LCHlch(94.45, 62.55, 102.98°)
OKLaboklab(94.73% -0.042 0.1424)
OKLCHoklch(94.73% 0.149 106.4)
XYZxyz(74.9880, 86.3119, 29.5359)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF475 #757BFA
analogous
#FAB275 #FAF475 #BEFA75
triadic
#FAF475 #75FAF4 #F475FA
tetradic
#FAF475 #75FAB2 #757BFA #FA75BE
square
#FAF475 #75FAB2 #757BFA #FA75BE
split-complementary
#FAF475 #75BEFA #B275FA
monochromatic
#ECE209 #F8EF3A #FAF475 #FCF9B0 #FEFDE1

Accessibility & contrast

On white

1.15
#FAF475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FAF475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF475
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF475#FFFFFF#000000##000000
##FAF4751.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC69
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf475;
/* rgb */ color: rgb(250, 244, 117);
/* oklch */ color: oklch(94.7% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef7a0',
    500: '#faf475',
    950: '#000000',
  },
}
SCSS
$custom: #faf475;
$custom-light: #fef7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf475",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 57.293,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94725,
    "c": 0.1485,
    "h": 106.4
  },
  "luminance": 0.8631
}

Semantic roles & 50–950 ramp

primary
#FAF475
secondary
#3D44D6
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF475

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

Preview Lab → · Contrast checker → · Palette generator →

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