#FFFA54#FFFA54

#FFFA54 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.179 H 107.6°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FFFA54
RGBrgb(255, 250, 84)
HSLhsl(58, 100%, 66%)
HSVhsv(58, 67%, 100%)
CMYKcmyk(0%, 2%, 67.1%, 0%)
CIE-LABlab(96.11, -17.07, 76.38)
CIE-LCHlch(96.11, 78.26, 102.60°)
OKLaboklab(96.06% -0.0543 0.1707)
OKLCHoklch(96.06% 0.179 107.6)
XYZxyz(77.0286, 90.2738, 21.7528)
Luminance0.9027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA54 #5459FF
analogous
#FFA554 #FFFA54 #AEFF54
triadic
#FFFA54 #54FFFA #FA54FF
tetradic
#FFFA54 #54FFA5 #5459FF #FF54AE
square
#FFFA54 #54FFA5 #5459FF #FF54AE
split-complementary
#FFFA54 #54AEFF #A554FF
monochromatic
#D9D200 #FFF817 #FFFA54 #FFFC91 #FFFECE

Accessibility & contrast

On white

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

On black

19.05
#FFFA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA54
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA54#FFFFFF#000000##000000
##FFFA541.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF03B
Deuteranopia (green-blind)
#FFF75F
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa54;
/* rgb */ color: rgb(255, 250, 84);
/* oklch */ color: oklch(96.1% 0.179 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb8d',
    500: '#fffa54',
    950: '#000000',
  },
}
SCSS
$custom: #fffa54;
$custom-light: #fffb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa54",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 84
  },
  "hsl": {
    "h": 58.246,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9606,
    "c": 0.17913,
    "h": 107.6
  },
  "luminance": 0.90271
}

Semantic roles & 50–950 ramp

primary
#FFFA54
secondary
#252AD2
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFA54

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

Preview Lab → · Contrast checker → · Palette generator →

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