#FAF47E#FAF47E

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

Color values

HEX#FAF47E
RGBrgb(250, 244, 126)
HSLhsl(57, 93%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 49.6%, 2%)
CIE-LABlab(94.54, -13.32, 56.98)
CIE-LCHlch(94.54, 58.52, 103.15°)
OKLaboklab(94.83% -0.039 0.1347)
OKLCHoklch(94.83% 0.14 106.2)
XYZxyz(75.5428, 86.5338, 32.4580)
Luminance0.8653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF47E #7E84FA
analogous
#FAB67E #FAF47E #C2FA7E
triadic
#FAF47E #7EFAF4 #F47EFA
tetradic
#FAF47E #7EFAB6 #7E84FA #FA7EC2
square
#FAF47E #7EFAB6 #7E84FA #FA7EC2
split-complementary
#FAF47E #7EC2FA #B67EFA
monochromatic
#F4E909 #F8EF43 #FAF47E #FCF9B9 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF47E#FFFFFF#000000##000000
##FAF47E1.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)
#FFEC73
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf47e;
/* rgb */ color: rgb(250, 244, 126);
/* oklch */ color: oklch(94.8% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef7a6',
    500: '#faf47e',
    950: '#000000',
  },
}
SCSS
$custom: #faf47e;
$custom-light: #fef7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf47e",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 126
  },
  "hsl": {
    "h": 57.097,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94831,
    "c": 0.1402,
    "h": 106.2
  },
  "luminance": 0.86532
}

Semantic roles & 50–950 ramp

primary
#FAF47E
secondary
#454CD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF47E

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

Preview Lab → · Contrast checker → · Palette generator →

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