#FFFA4C#FFFA4C

#FFFA4C is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.184 H 107.8°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FFFA4C
RGBrgb(255, 250, 76)
HSLhsl(58, 100%, 65%)
HSVhsv(58, 70%, 100%)
CMYKcmyk(0%, 2%, 70.2%, 0%)
CIE-LABlab(96.06, -17.45, 79.15)
CIE-LCHlch(96.06, 81.05, 102.44°)
OKLaboklab(96.01% -0.0561 0.1753)
OKLCHoklch(96.01% 0.184 107.8)
XYZxyz(76.7330, 90.1556, 20.1959)
Luminance0.9015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA4C #4C51FF
analogous
#FFA14C #FFFA4C #ABFF4C
triadic
#FFFA4C #4CFFFA #FA4CFF
tetradic
#FFFA4C #4CFFA1 #4C51FF #FF4CAB
square
#FFFA4C #4CFFA1 #4C51FF #FF4CAB
split-complementary
#FFFA4C #4CABFF #A14CFF
monochromatic
#D1CB00 #FFF80F #FFFA4C #FFFC89 #FFFDC6

Accessibility & contrast

On white

1.10
#FFFA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#FFFA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA4C
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA4C#FFFFFF#000000##000000
##FFFA4C1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02D
Deuteranopia (green-blind)
#FFF759
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa4c;
/* rgb */ color: rgb(255, 250, 76);
/* oklch */ color: oklch(96.0% 0.184 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffb89',
    500: '#fffa4c',
    950: '#000000',
  },
}
SCSS
$custom: #fffa4c;
$custom-light: #fffb89;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa4c",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 76
  },
  "hsl": {
    "h": 58.324,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.96005,
    "c": 0.18403,
    "h": 107.8
  },
  "luminance": 0.90153
}

Semantic roles & 50–950 ramp

primary
#FFFA4C
secondary
#2429CB
accent
#06E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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