#FFFA5C#FFFA5C

#FFFA5C is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.174 H 107.5°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FFFA5C
RGBrgb(255, 250, 92)
HSLhsl(58, 100%, 68%)
HSVhsv(58, 64%, 100%)
CMYKcmyk(0%, 2%, 63.9%, 0%)
CIE-LABlab(96.17, -16.64, 73.42)
CIE-LCHlch(96.17, 75.28, 102.77°)
OKLaboklab(96.12% -0.0523 0.1657)
OKLCHoklch(96.12% 0.174 107.5)
XYZxyz(77.3601, 90.4064, 23.4983)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA5C #5C61FF
analogous
#FFA95C #FFFA5C #B2FF5C
triadic
#FFFA5C #5CFFFA #FA5CFF
tetradic
#FFFA5C #5CFFA9 #5C61FF #FF5CB2
square
#FFFA5C #5CFFA9 #5C61FF #FF5CB2
split-complementary
#FFFA5C #5CB2FF #A95CFF
monochromatic
#E1DA00 #FFF81F #FFFA5C #FFFC99 #FFFED6

Accessibility & contrast

On white

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

On black

19.08
#FFFA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA5C
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA5C#FFFFFF#000000##000000
##FFFA5C1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF147
Deuteranopia (green-blind)
#FFF766
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa5c;
/* rgb */ color: rgb(255, 250, 92);
/* oklch */ color: oklch(96.1% 0.174 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb91',
    500: '#fffa5c',
    950: '#000000',
  },
}
SCSS
$custom: #fffa5c;
$custom-light: #fffb91;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa5c",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 92
  },
  "hsl": {
    "h": 58.16,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96121,
    "c": 0.17376,
    "h": 107.5
  },
  "luminance": 0.90404
}

Semantic roles & 50–950 ramp

primary
#FFFA5C
secondary
#262CD9
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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