#FFFA4B#FFFA4B

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

Color values

HEX#FFFA4B
RGBrgb(255, 250, 75)
HSLhsl(58, 100%, 65%)
HSVhsv(58, 71%, 100%)
CMYKcmyk(0%, 2%, 70.6%, 0%)
CIE-LABlab(96.06, -17.50, 79.48)
CIE-LCHlch(96.06, 81.39, 102.42°)
OKLaboklab(96% -0.0563 0.1758)
OKLCHoklch(96% 0.185 107.8)
XYZxyz(76.6985, 90.1418, 20.0142)
Luminance0.9014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA4B #4B50FF
analogous
#FFA04B #FFFA4B #AAFF4B
triadic
#FFFA4B #4BFFFA #FA4BFF
tetradic
#FFFA4B #4BFFA0 #4B50FF #FF4BAA
square
#FFFA4B #4BFFA0 #4B50FF #FF4BAA
split-complementary
#FFFA4B #4BAAFF #A04BFF
monochromatic
#D0CA00 #FFF80E #FFFA4B #FFFC88 #FFFDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFA4B#FFFFFF#000000##000000
##FFFA4B1.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)
#FFF02B
Deuteranopia (green-blind)
#FFF758
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa4b;
/* rgb */ color: rgb(255, 250, 75);
/* oklch */ color: oklch(96.0% 0.185 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffb88',
    500: '#fffa4b',
    950: '#000000',
  },
}
SCSS
$custom: #fffa4b;
$custom-light: #fffb88;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa4b",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 75
  },
  "hsl": {
    "h": 58.333,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.95999,
    "c": 0.1846,
    "h": 107.8
  },
  "luminance": 0.90139
}

Semantic roles & 50–950 ramp

primary
#FFFA4B
secondary
#2428CA
accent
#06E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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