#FFFA6C#FFFA6C

#FFFA6C is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.162 H 107.2°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#FFFA6C
RGBrgb(255, 250, 108)
HSLhsl(58, 100%, 71%)
HSVhsv(58, 58%, 100%)
CMYKcmyk(0%, 2%, 57.6%, 0%)
CIE-LABlab(96.29, -15.63, 67.07)
CIE-LCHlch(96.29, 68.87, 103.12°)
OKLaboklab(96.26% -0.0478 0.1544)
OKLCHoklch(96.26% 0.162 107.2)
XYZxyz(78.1348, 90.7163, 27.5786)
Luminance0.9071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA6C #6C71FF
analogous
#FFB06C #FFFA6C #BAFF6C
triadic
#FFFA6C #6CFFFA #FA6CFF
tetradic
#FFFA6C #6CFFB0 #6C71FF #FF6CBA
square
#FFFA6C #6CFFB0 #6C71FF #FF6CBA
split-complementary
#FFFA6C #6CBAFF #B06CFF
monochromatic
#F1E800 #FFF82F #FFFA6C #FFFCA9 #FFFEE0

Accessibility & contrast

On white

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

On black

19.14
#FFFA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA6C
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA6C#FFFFFF#000000##000000
##FFFA6C1.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15C
Deuteranopia (green-blind)
#FFF774
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa6c;
/* rgb */ color: rgb(255, 250, 108);
/* oklch */ color: oklch(96.3% 0.162 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fffa6c',
    950: '#000000',
  },
}
SCSS
$custom: #fffa6c;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa6c",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 57.959,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.96264,
    "c": 0.16163,
    "h": 107.2
  },
  "luminance": 0.90714
}

Semantic roles & 50–950 ramp

primary
#FFFA6C
secondary
#343ADB
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFFA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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