#FAF473#FAF473

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

Color values

HEX#FAF473
RGBrgb(250, 244, 115)
HSLhsl(57, 93%, 72%)
HSVhsv(57, 54%, 98%)
CMYKcmyk(0%, 2.4%, 54%, 2%)
CIE-LABlab(94.43, -14.20, 61.82)
CIE-LCHlch(94.43, 63.43, 102.93°)
OKLaboklab(94.7% -0.0427 0.1441)
OKLCHoklch(94.7% 0.15 106.5)
XYZxyz(74.8717, 86.2654, 28.9232)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF473 #7379FA
analogous
#FAB173 #FAF473 #BDFA73
triadic
#FAF473 #73FAF4 #F473FA
tetradic
#FAF473 #73FAB1 #7379FA #FA73BD
square
#FAF473 #73FAB1 #7379FA #FA73BD
split-complementary
#FAF473 #73BDFA #B173FA
monochromatic
#EAE008 #F8EF38 #FAF473 #FCF9AE #FEFDE1

Accessibility & contrast

On white

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

On black

18.25
#FAF473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF473
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF473#FFFFFF#000000##000000
##FAF4731.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFF27A
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf473;
/* rgb */ color: rgb(250, 244, 115);
/* oklch */ color: oklch(94.7% 0.150 106.5);
Tailwind
colors: {
  custom: {
    50: '#fef79f',
    500: '#faf473',
    950: '#000000',
  },
}
SCSS
$custom: #faf473;
$custom-light: #fef79f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf473",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 115
  },
  "hsl": {
    "h": 57.333,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94703,
    "c": 0.15028,
    "h": 106.5
  },
  "luminance": 0.86263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF473

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

Preview Lab → · Contrast checker → · Palette generator →

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