#FAF476#FAF476

#FAF476 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.27:1 contrast (WCAG AA passes).

Color values

HEX#FAF476
RGBrgb(250, 244, 118)
HSLhsl(57, 93%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.4%, 52.8%, 2%)
CIE-LABlab(94.46, -13.97, 60.52)
CIE-LCHlch(94.46, 62.11, 103.00°)
OKLaboklab(94.74% -0.0417 0.1416)
OKLCHoklch(94.74% 0.148 106.4)
XYZxyz(75.0471, 86.3356, 29.8472)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF476 #767CFA
analogous
#FAB276 #FAF476 #BEFA76
triadic
#FAF476 #76FAF4 #F476FA
tetradic
#FAF476 #76FAB2 #767CFA #FA76BE
square
#FAF476 #76FAB2 #767CFA #FA76BE
split-complementary
#FAF476 #76BEFA #B276FA
monochromatic
#EDE309 #F8EF3B #FAF476 #FCF9B1 #FEFDE1

Accessibility & contrast

On white

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

On black

18.27
#FAF476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF476
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF476#FFFFFF#000000##000000
##FAF4761.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf476;
/* rgb */ color: rgb(250, 244, 118);
/* oklch */ color: oklch(94.7% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef7a1',
    500: '#faf476',
    950: '#000000',
  },
}
SCSS
$custom: #faf476;
$custom-light: #fef7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf476",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 57.273,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94737,
    "c": 0.1476,
    "h": 106.4
  },
  "luminance": 0.86333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF476

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

Preview Lab → · Contrast checker → · Palette generator →

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