#FFFA5D#FFFA5D

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

Color values

HEX#FFFA5D
RGBrgb(255, 250, 93)
HSLhsl(58, 100%, 68%)
HSVhsv(58, 64%, 100%)
CMYKcmyk(0%, 2%, 63.5%, 0%)
CIE-LABlab(96.17, -16.58, 73.04)
CIE-LCHlch(96.17, 74.90, 102.79°)
OKLaboklab(96.13% -0.052 0.1651)
OKLCHoklch(96.13% 0.173 107.5)
XYZxyz(77.4041, 90.4240, 23.7300)
Luminance0.9042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA5D #5D62FF
analogous
#FFA95D #FFFA5D #B3FF5D
triadic
#FFFA5D #5DFFFA #FA5DFF
tetradic
#FFFA5D #5DFFA9 #5D62FF #FF5DB3
square
#FFFA5D #5DFFA9 #5D62FF #FF5DB3
split-complementary
#FFFA5D #5DB3FF #A95DFF
monochromatic
#E2DB00 #FFF820 #FFFA5D #FFFC9A #FFFED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFA5D#FFFFFF#000000##000000
##FFFA5D1.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)
#FFF148
Deuteranopia (green-blind)
#FFF767
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa5d;
/* rgb */ color: rgb(255, 250, 93);
/* oklch */ color: oklch(96.1% 0.173 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb92',
    500: '#fffa5d',
    950: '#000000',
  },
}
SCSS
$custom: #fffa5d;
$custom-light: #fffb92;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa5d",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 93
  },
  "hsl": {
    "h": 58.148,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.96129,
    "c": 0.17306,
    "h": 107.5
  },
  "luminance": 0.90422
}

Semantic roles & 50–950 ramp

primary
#FFFA5D
secondary
#272DD9
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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