#FFFA5F#FFFA5F

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

Color values

HEX#FFFA5F
RGBrgb(255, 250, 95)
HSLhsl(58, 100%, 69%)
HSVhsv(58, 63%, 100%)
CMYKcmyk(0%, 2%, 62.7%, 0%)
CIE-LABlab(96.19, -16.46, 72.27)
CIE-LCHlch(96.19, 74.13, 102.83°)
OKLaboklab(96.15% -0.0515 0.1637)
OKLCHoklch(96.15% 0.172 107.5)
XYZxyz(77.4938, 90.4599, 24.2027)
Luminance0.9046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA5F #5F64FF
analogous
#FFAA5F #FFFA5F #B4FF5F
triadic
#FFFA5F #5FFFFA #FA5FFF
tetradic
#FFFA5F #5FFFAA #5F64FF #FF5FB4
square
#FFFA5F #5FFFAA #5F64FF #FF5FB4
split-complementary
#FFFA5F #5FB4FF #AA5FFF
monochromatic
#E4DC00 #FFF822 #FFFA5F #FFFC9C #FFFED9

Accessibility & contrast

On white

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

On black

19.09
#FFFA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA5F
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA5F#FFFFFF#000000##000000
##FFFA5F1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa5f;
/* rgb */ color: rgb(255, 250, 95);
/* oklch */ color: oklch(96.1% 0.172 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb93',
    500: '#fffa5f',
    950: '#000000',
  },
}
SCSS
$custom: #fffa5f;
$custom-light: #fffb93;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa5f",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 58.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.96146,
    "c": 0.17163,
    "h": 107.5
  },
  "luminance": 0.90457
}

Semantic roles & 50–950 ramp

primary
#FFFA5F
secondary
#292ED9
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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