#FAF379#FAF379

#FAF379 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.144 H 105.9°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FAF379
RGBrgb(250, 243, 121)
HSLhsl(57, 93%, 73%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.8%, 51.6%, 2%)
CIE-LABlab(94.23, -13.24, 58.90)
CIE-LCHlch(94.23, 60.37, 102.67°)
OKLaboklab(94.57% -0.0393 0.1384)
OKLCHoklch(94.57% 0.144 105.9)
XYZxyz(74.9282, 85.8079, 30.7011)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF379 #7980FA
analogous
#FAB279 #FAF379 #C1FA79
triadic
#FAF379 #79FAF3 #F379FA
tetradic
#FAF379 #79FAB2 #7980FA #FA79C1
square
#FAF379 #79FAB2 #7980FA #FA79C1
split-complementary
#FAF379 #79C1FA #B279FA
monochromatic
#F0E309 #F8EE3E #FAF379 #FCF8B4 #FEFCE2

Accessibility & contrast

On white

1.16
#FAF379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FAF379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF379
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF379#FFFFFF#000000##000000
##FAF3791.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf379;
/* rgb */ color: rgb(250, 243, 121);
/* oklch */ color: oklch(94.6% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef6a3',
    500: '#faf379',
    950: '#000000',
  },
}
SCSS
$custom: #faf379;
$custom-light: #fef6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf379",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 121
  },
  "hsl": {
    "h": 56.744,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94567,
    "c": 0.14387,
    "h": 105.9
  },
  "luminance": 0.85806
}

Semantic roles & 50–950 ramp

primary
#FAF379
secondary
#4149D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF379

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

Preview Lab → · Contrast checker → · Palette generator →

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