#FAF479#FAF479

#FAF479 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.145 H 106.3°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FAF479
RGBrgb(250, 244, 121)
HSLhsl(57, 93%, 73%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.4%, 51.6%, 2%)
CIE-LABlab(94.49, -13.73, 59.20)
CIE-LCHlch(94.49, 60.77, 103.06°)
OKLaboklab(94.77% -0.0407 0.139)
OKLCHoklch(94.77% 0.145 106.3)
XYZxyz(75.2282, 86.4080, 30.8011)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF479 #797FFA
analogous
#FAB379 #FAF479 #C0FA79
triadic
#FAF479 #79FAF4 #F479FA
tetradic
#FAF479 #79FAB3 #797FFA #FA79C0
square
#FAF479 #79FAB3 #797FFA #FA79C0
split-complementary
#FAF479 #79C0FA #B379FA
monochromatic
#F0E509 #F8EF3E #FAF479 #FCF9B4 #FEFDE2

Accessibility & contrast

On white

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

On black

18.28
#FAF479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF479
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF479#FFFFFF#000000##000000
##FAF4791.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf479;
/* rgb */ color: rgb(250, 244, 121);
/* oklch */ color: oklch(94.8% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#fef7a3',
    500: '#faf479',
    950: '#000000',
  },
}
SCSS
$custom: #faf479;
$custom-light: #fef7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf479",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 57.209,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94771,
    "c": 0.14488,
    "h": 106.3
  },
  "luminance": 0.86406
}

Semantic roles & 50–950 ramp

primary
#FAF479
secondary
#4148D7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF479

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

Preview Lab → · Contrast checker → · Palette generator →

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