#FAF073#FAF073

#FAF073 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.146 H 104.7°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FAF073
RGBrgb(250, 240, 115)
HSLhsl(56, 93%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 4%, 54%, 2%)
CIE-LABlab(93.40, -12.24, 60.65)
CIE-LCHlch(93.40, 61.87, 101.41°)
OKLaboklab(93.89% -0.0371 0.1416)
OKLCHoklch(93.89% 0.146 104.7)
XYZxyz(73.6812, 83.8843, 28.5264)
Luminance0.8388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF073 #737DFA
analogous
#FAAD73 #FAF073 #C0FA73
triadic
#FAF073 #73FAF0 #F073FA
tetradic
#FAF073 #73FAAD #737DFA #FA73C0
square
#FAF073 #73FAAD #737DFA #FA73C0
split-complementary
#FAF073 #73C0FA #AD73FA
monochromatic
#EADA08 #F8EA38 #FAF073 #FCF6AE #FEFCE1

Accessibility & contrast

On white

1.18
#FAF073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#FAF073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF073
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF073#FFFFFF#000000##000000
##FAF0731.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE967
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf073;
/* rgb */ color: rgb(250, 240, 115);
/* oklch */ color: oklch(93.9% 0.146 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef49f',
    500: '#faf073',
    950: '#000000',
  },
}
SCSS
$custom: #faf073;
$custom-light: #fef49f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf073",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 115
  },
  "hsl": {
    "h": 55.556,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93887,
    "c": 0.14633,
    "h": 104.7
  },
  "luminance": 0.83882
}

Semantic roles & 50–950 ramp

primary
#FAF073
secondary
#3B47D6
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF073

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

Preview Lab → · Contrast checker → · Palette generator →

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