#FAF578#FAF578

#FAF578 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.147 H 106.8°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FAF578
RGBrgb(250, 245, 120)
HSLhsl(58, 93%, 73%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 2%, 52%, 2%)
CIE-LABlab(94.73, -14.30, 59.94)
CIE-LCHlch(94.73, 61.62, 103.42°)
OKLaboklab(94.96% -0.0424 0.1405)
OKLCHoklch(94.96% 0.147 106.8)
XYZxyz(75.4689, 86.9870, 30.5804)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF578 #787DFA
analogous
#FAB478 #FAF578 #BEFA78
triadic
#FAF578 #78FAF5 #F578FA
tetradic
#FAF578 #78FAB4 #787DFA #FA78BE
square
#FAF578 #78FAB4 #787DFA #FA78BE
split-complementary
#FAF578 #78BEFA #B478FA
monochromatic
#EFE609 #F8F13D #FAF578 #FCF9B3 #FEFDE1

Accessibility & contrast

On white

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

On black

18.40
#FAF578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF578
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF578#FFFFFF#000000##000000
##FAF5781.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf578;
/* rgb */ color: rgb(250, 245, 120);
/* oklch */ color: oklch(95.0% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef8a2',
    500: '#faf578',
    950: '#000000',
  },
}
SCSS
$custom: #faf578;
$custom-light: #fef8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faf578",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 57.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94964,
    "c": 0.14681,
    "h": 106.8
  },
  "luminance": 0.86985
}

Semantic roles & 50–950 ramp

primary
#FAF578
secondary
#4046D6
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF578

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

Preview Lab → · Contrast checker → · Palette generator →

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