#FFFA7F#FFFA7F

#FFFA7F is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.5% C 0.145 H 106.7°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#FFFA7F
RGBrgb(255, 250, 127)
HSLhsl(58, 100%, 75%)
HSVhsv(58, 50%, 100%)
CMYKcmyk(0%, 2%, 50.2%, 0%)
CIE-LABlab(96.48, -14.20, 58.92)
CIE-LCHlch(96.48, 60.60, 103.55°)
OKLaboklab(96.47% -0.0417 0.1389)
OKLCHoklch(96.47% 0.145 106.7)
XYZxyz(79.2584, 91.1657, 33.4962)
Luminance0.9116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA7F #7F84FF
analogous
#FFBA7F #FFFA7F #C4FF7F
triadic
#FFFA7F #7FFFFA #FA7FFF
tetradic
#FFFA7F #7FFFBA #7F84FF #FF7FC4
square
#FFFA7F #7FFFBA #7F84FF #FF7FC4
split-complementary
#FFFA7F #7FC4FF #BA7FFF
monochromatic
#FFF505 #FFF842 #FFFA7F #FFFCBC #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.23
#FFFA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA7F
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA7F#FFFFFF#000000##000000
##FFFA7F1.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF274
Deuteranopia (green-blind)
#FFF785
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa7f;
/* rgb */ color: rgb(255, 250, 127);
/* oklch */ color: oklch(96.5% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffba7',
    500: '#fffa7f',
    950: '#000000',
  },
}
SCSS
$custom: #fffa7f;
$custom-light: #fffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa7f",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 57.656,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96471,
    "c": 0.14501,
    "h": 106.7
  },
  "luminance": 0.91164
}

Semantic roles & 50–950 ramp

primary
#FFFA7F
secondary
#444ADE
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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