#FAF576#FAF576

#FAF576 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.149 H 106.9°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FAF576
RGBrgb(250, 245, 118)
HSLhsl(58, 93%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 2%, 52.8%, 2%)
CIE-LABlab(94.71, -14.46, 60.82)
CIE-LCHlch(94.71, 62.51, 103.37°)
OKLaboklab(94.94% -0.0431 0.1422)
OKLCHoklch(94.94% 0.149 106.9)
XYZxyz(75.3488, 86.9390, 29.9478)
Luminance0.8694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF576 #767BFA
analogous
#FAB376 #FAF576 #BDFA76
triadic
#FAF576 #76FAF5 #F576FA
tetradic
#FAF576 #76FAB3 #767BFA #FA76BD
square
#FAF576 #76FAB3 #767BFA #FA76BD
split-complementary
#FAF576 #76BDFA #B376FA
monochromatic
#EDE409 #F8F13B #FAF576 #FCF9B1 #FEFDE1

Accessibility & contrast

On white

1.14
#FAF576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#FAF576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF576
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF576#FFFFFF#000000##000000
##FAF5761.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6A
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf576;
/* rgb */ color: rgb(250, 245, 118);
/* oklch */ color: oklch(94.9% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef8a1',
    500: '#faf576',
    950: '#000000',
  },
}
SCSS
$custom: #faf576;
$custom-light: #fef8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf576",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 57.727,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94941,
    "c": 0.14862,
    "h": 106.9
  },
  "luminance": 0.86937
}

Semantic roles & 50–950 ramp

primary
#FAF576
secondary
#3E44D6
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF576

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

Preview Lab → · Contrast checker → · Palette generator →

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