#FAF07F#FAF07F

#FAF07F is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.135 H 104.2°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FAF07F
RGBrgb(250, 240, 127)
HSLhsl(55, 92%, 74%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4%, 49.2%, 2%)
CIE-LABlab(93.53, -11.27, 55.31)
CIE-LCHlch(93.53, 56.45, 101.51°)
OKLaboklab(94.03% -0.0331 0.1311)
OKLCHoklch(94.03% 0.135 104.2)
XYZxyz(74.4172, 84.1787, 32.4026)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF07F #7F89FA
analogous
#FAB37F #FAF07F #C7FA7F
triadic
#FAF07F #7FFAF0 #F07FFA
tetradic
#FAF07F #7FFAB3 #7F89FA #FA7FC7
square
#FAF07F #7FFAB3 #7F89FA #FA7FC7
split-complementary
#FAF07F #7FC7FA #B37FFA
monochromatic
#F5E20A #F8E944 #FAF07F #FCF7BA #FEFCE2

Accessibility & contrast

On white

1.18
#FAF07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FAF07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF07F
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF07F#FFFFFF#000000##000000
##FAF07F1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE975
Deuteranopia (green-blind)
#FFEF84
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf07f;
/* rgb */ color: rgb(250, 240, 127);
/* oklch */ color: oklch(94.0% 0.135 104.2);
Tailwind
colors: {
  custom: {
    50: '#fef4a6',
    500: '#faf07f',
    950: '#000000',
  },
}
SCSS
$custom: #faf07f;
$custom-light: #fef4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf07f",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 55.122,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9403,
    "c": 0.1352,
    "h": 104.2
  },
  "luminance": 0.84176
}

Semantic roles & 50–950 ramp

primary
#FAF07F
secondary
#4652D7
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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