#FFFA7C#FFFA7C

#FFFA7C is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.4% C 0.148 H 106.8°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FFFA7C
RGBrgb(255, 250, 124)
HSLhsl(58, 100%, 74%)
HSVhsv(58, 51%, 100%)
CMYKcmyk(0%, 2%, 51.4%, 0%)
CIE-LABlab(96.45, -14.44, 60.24)
CIE-LCHlch(96.45, 61.94, 103.48°)
OKLaboklab(96.44% -0.0427 0.1415)
OKLCHoklch(96.44% 0.148 106.8)
XYZxyz(79.0658, 91.0887, 32.4818)
Luminance0.9109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA7C #7C81FF
analogous
#FFB97C #FFFA7C #C3FF7C
triadic
#FFFA7C #7CFFFA #FA7CFF
tetradic
#FFFA7C #7CFFB9 #7C81FF #FF7CC3
square
#FFFA7C #7CFFB9 #7C81FF #FF7CC3
split-complementary
#FFFA7C #7CC3FF #B97CFF
monochromatic
#FFF502 #FFF83F #FFFA7C #FFFCB9 #FFFEE0

Accessibility & contrast

On white

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

On black

19.22
#FFFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA7C
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA7C#FFFFFF#000000##000000
##FFFA7C1.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa7c;
/* rgb */ color: rgb(255, 250, 124);
/* oklch */ color: oklch(96.4% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffba5',
    500: '#fffa7c',
    950: '#000000',
  },
}
SCSS
$custom: #fffa7c;
$custom-light: #fffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa7c",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 57.71,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96436,
    "c": 0.14779,
    "h": 106.8
  },
  "luminance": 0.91086
}

Semantic roles & 50–950 ramp

primary
#FFFA7C
secondary
#4248DE
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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