#FAF47D#FAF47D

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

Color values

HEX#FAF47D
RGBrgb(250, 244, 125)
HSLhsl(57, 93%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 50%, 2%)
CIE-LABlab(94.53, -13.40, 57.43)
CIE-LCHlch(94.53, 58.97, 103.13°)
OKLaboklab(94.82% -0.0394 0.1356)
OKLCHoklch(94.82% 0.141 106.2)
XYZxyz(75.4786, 86.5082, 32.1198)
Luminance0.8651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF47D #7D83FA
analogous
#FAB57D #FAF47D #C1FA7D
triadic
#FAF47D #7DFAF4 #F47DFA
tetradic
#FAF47D #7DFAB5 #7D83FA #FA7DC1
square
#FAF47D #7DFAB5 #7D83FA #FA7DC1
split-complementary
#FAF47D #7DC1FA #B57DFA
monochromatic
#F3E809 #F8EF42 #FAF47D #FCF9B8 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF47D#FFFFFF#000000##000000
##FAF47D1.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)
#FFEC72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf47d;
/* rgb */ color: rgb(250, 244, 125);
/* oklch */ color: oklch(94.8% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef7a5',
    500: '#faf47d',
    950: '#000000',
  },
}
SCSS
$custom: #faf47d;
$custom-light: #fef7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#faf47d",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 125
  },
  "hsl": {
    "h": 57.12,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94819,
    "c": 0.14115,
    "h": 106.2
  },
  "luminance": 0.86506
}

Semantic roles & 50–950 ramp

primary
#FAF47D
secondary
#444BD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF47D

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

Preview Lab → · Contrast checker → · Palette generator →

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