#FAF07A#FAF07A

#FAF07A is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.140 H 104.4°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FAF07A
RGBrgb(250, 240, 122)
HSLhsl(55, 93%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4%, 51.2%, 2%)
CIE-LABlab(93.47, -11.68, 57.56)
CIE-LCHlch(93.47, 58.73, 101.48°)
OKLaboklab(93.97% -0.0348 0.1356)
OKLCHoklch(93.97% 0.14 104.4)
XYZxyz(74.0994, 84.0516, 30.7289)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF07A #7A84FA
analogous
#FAB07A #FAF07A #C4FA7A
triadic
#FAF07A #7AFAF0 #F07AFA
tetradic
#FAF07A #7AFAB0 #7A84FA #FA7AC4
square
#FAF07A #7AFAB0 #7A84FA #FA7AC4
split-complementary
#FAF07A #7AC4FA #B07AFA
monochromatic
#F1DE09 #F8E93F #FAF07A #FCF7B5 #FEFCE2

Accessibility & contrast

On white

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

On black

17.81
#FAF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF07A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF07A#FFFFFF#000000##000000
##FAF07A1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf07a;
/* rgb */ color: rgb(250, 240, 122);
/* oklch */ color: oklch(94.0% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#fef4a3',
    500: '#faf07a',
    950: '#000000',
  },
}
SCSS
$custom: #faf07a;
$custom-light: #fef4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#faf07a",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 55.313,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93969,
    "c": 0.13995,
    "h": 104.4
  },
  "luminance": 0.84049
}

Semantic roles & 50–950 ramp

primary
#FAF07A
secondary
#414DD7
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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