#FFFA9E#FFFA9E

#FFFA9E is a very light, moderate yellow. Relative luminance 0.921; OKLCH L 96.9% C 0.113 H 105.6°. Best body text is #000000 at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#FFFA9E
RGBrgb(255, 250, 158)
HSLhsl(57, 100%, 81%)
HSVhsv(57, 38%, 100%)
CMYKcmyk(0%, 2%, 38%, 0%)
CIE-LABlab(96.86, -11.26, 44.71)
CIE-LCHlch(96.86, 46.11, 104.14°)
OKLaboklab(96.9% -0.0306 0.1093)
OKLCHoklch(96.9% 0.113 105.6)
XYZxyz(81.5984, 92.1017, 45.8201)
Luminance0.9210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA9E #9EA3FF
analogous
#FFC99E #FFFA9E #D3FF9E
triadic
#FFFA9E #9EFFFA #FA9EFF
tetradic
#FFFA9E #9EFFC9 #9EA3FF #FF9ED3
square
#FFFA9E #9EFFC9 #9EA3FF #FF9ED3
split-complementary
#FFFA9E #9ED3FF #C99EFF
monochromatic
#FFF424 #FFF761 #FFFA9E #FFFDDB #FFFDE0

Accessibility & contrast

On white

1.08
#FFFA9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.42
#FFFA9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA9E
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA9E#FFFFFF#000000##000000
##FFFA9E1.001.0819.4219.42
#FFFFFF1.081.0021.0021.00
#00000019.4221.001.001.00
##00000019.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF397
Deuteranopia (green-blind)
#FFF8A2
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffa9e;
/* rgb */ color: rgb(255, 250, 158);
/* oklch */ color: oklch(96.9% 0.113 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffbbc',
    500: '#fffa9e',
    950: '#000000',
  },
}
SCSS
$custom: #fffa9e;
$custom-light: #fffbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa9e",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 158
  },
  "hsl": {
    "h": 56.907,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.96901,
    "c": 0.11349,
    "h": 105.6
  },
  "luminance": 0.921
}

Semantic roles & 50–950 ramp

primary
#FFFA9E
secondary
#5F65E3
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFA9E

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

Preview Lab → · Contrast checker → · Palette generator →

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