#FAF47F#FAF47F

#FAF47F is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.139 H 106.1°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FAF47F
RGBrgb(250, 244, 127)
HSLhsl(57, 92%, 74%)
HSVhsv(57, 49%, 98%)
CMYKcmyk(0%, 2.4%, 49.2%, 2%)
CIE-LABlab(94.55, -13.23, 56.54)
CIE-LCHlch(94.55, 58.06, 103.17°)
OKLaboklab(94.84% -0.0387 0.1338)
OKLCHoklch(94.84% 0.139 106.1)
XYZxyz(75.6077, 86.5598, 32.7995)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF47F #7F85FA
analogous
#FAB77F #FAF47F #C3FA7F
triadic
#FAF47F #7FFAF4 #F47FFA
tetradic
#FAF47F #7FFAB7 #7F85FA #FA7FC3
square
#FAF47F #7FFAB7 #7F85FA #FA7FC3
split-complementary
#FAF47F #7FC3FA #B77FFA
monochromatic
#F5EA0A #F8EF44 #FAF47F #FCF9BA #FEFCE2

Accessibility & contrast

On white

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

On black

18.31
#FAF47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF47F
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF47F#FFFFFF#000000##000000
##FAF47F1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf47f;
/* rgb */ color: rgb(250, 244, 127);
/* oklch */ color: oklch(94.8% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#fef7a7',
    500: '#faf47f',
    950: '#000000',
  },
}
SCSS
$custom: #faf47f;
$custom-light: #fef7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#faf47f",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 127
  },
  "hsl": {
    "h": 57.073,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94843,
    "c": 0.13925,
    "h": 106.1
  },
  "luminance": 0.86558
}

Semantic roles & 50–950 ramp

primary
#FAF47F
secondary
#464DD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF47F

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

Preview Lab → · Contrast checker → · Palette generator →

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