#FAF47C#FAF47C

#FAF47C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.142 H 106.2°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FAF47C
RGBrgb(250, 244, 124)
HSLhsl(57, 93%, 73%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 50.4%, 2%)
CIE-LABlab(94.52, -13.48, 57.88)
CIE-LCHlch(94.52, 59.43, 103.11°)
OKLaboklab(94.81% -0.0397 0.1364)
OKLCHoklch(94.81% 0.142 106.2)
XYZxyz(75.4151, 86.4827, 31.7851)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF47C #7C82FA
analogous
#FAB57C #FAF47C #C1FA7C
triadic
#FAF47C #7CFAF4 #F47CFA
tetradic
#FAF47C #7CFAB5 #7C82FA #FA7CC1
square
#FAF47C #7CFAB5 #7C82FA #FA7CC1
split-complementary
#FAF47C #7CC1FA #B57CFA
monochromatic
#F2E709 #F8EF41 #FAF47C #FCF9B7 #FEFDE2

Accessibility & contrast

On white

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

On black

18.30
#FAF47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF47C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF47C#FFFFFF#000000##000000
##FAF47C1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFF282
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf47c;
/* rgb */ color: rgb(250, 244, 124);
/* oklch */ color: oklch(94.8% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef7a5',
    500: '#faf47c',
    950: '#000000',
  },
}
SCSS
$custom: #faf47c;
$custom-light: #fef7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf47c",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 124
  },
  "hsl": {
    "h": 57.143,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94807,
    "c": 0.14209,
    "h": 106.2
  },
  "luminance": 0.86481
}

Semantic roles & 50–950 ramp

primary
#FAF47C
secondary
#434AD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF47C

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

Preview Lab → · Contrast checker → · Palette generator →

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