#FFFA6F#FFFA6F

#FFFA6F is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.159 H 107.1°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FFFA6F
RGBrgb(255, 250, 111)
HSLhsl(58, 100%, 72%)
HSVhsv(58, 56%, 100%)
CMYKcmyk(0%, 2%, 56.5%, 0%)
CIE-LABlab(96.32, -15.43, 65.82)
CIE-LCHlch(96.32, 67.60, 103.19°)
OKLaboklab(96.29% -0.0469 0.1521)
OKLCHoklch(96.29% 0.159 107.1)
XYZxyz(78.2972, 90.7812, 28.4339)
Luminance0.9078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA6F #6F74FF
analogous
#FFB26F #FFFA6F #BCFF6F
triadic
#FFFA6F #6FFFFA #FA6FFF
tetradic
#FFFA6F #6FFFB2 #6F74FF #FF6FBC
square
#FFFA6F #6FFFB2 #6F74FF #FF6FBC
split-complementary
#FFFA6F #6FBCFF #B26FFF
monochromatic
#F4EB00 #FFF832 #FFFA6F #FFFCAC #FFFEE0

Accessibility & contrast

On white

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

On black

19.16
#FFFA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA6F
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA6F#FFFFFF#000000##000000
##FFFA6F1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF777
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa6f;
/* rgb */ color: rgb(255, 250, 111);
/* oklch */ color: oklch(96.3% 0.159 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fffa6f',
    950: '#000000',
  },
}
SCSS
$custom: #fffa6f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa6f",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 57.917,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96294,
    "c": 0.15917,
    "h": 107.1
  },
  "luminance": 0.90779
}

Semantic roles & 50–950 ramp

primary
#FFFA6F
secondary
#373CDC
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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