#FFFA9B#FFFA9B

#FFFA9B is a very light, moderate yellow. Relative luminance 0.920; OKLCH L 96.9% C 0.117 H 105.8°. Best body text is #000000 at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#FFFA9B
RGBrgb(255, 250, 155)
HSLhsl(57, 100%, 80%)
HSVhsv(57, 39%, 100%)
CMYKcmyk(0%, 2%, 39.2%, 0%)
CIE-LABlab(96.82, -11.58, 46.12)
CIE-LCHlch(96.82, 47.55, 104.10°)
OKLaboklab(96.85% -0.0317 0.1124)
OKLCHoklch(96.85% 0.117 105.8)
XYZxyz(81.3433, 91.9997, 44.4767)
Luminance0.9200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA9B #9BA0FF
analogous
#FFC89B #FFFA9B #D2FF9B
triadic
#FFFA9B #9BFFFA #FA9BFF
tetradic
#FFFA9B #9BFFC8 #9BA0FF #FF9BD2
square
#FFFA9B #9BFFC8 #9BA0FF #FF9BD2
split-complementary
#FFFA9B #9BD2FF #C89BFF
monochromatic
#FFF421 #FFF75E #FFFA9B #FFFDD8 #FFFDE0

Accessibility & contrast

On white

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

On black

19.40
#FFFA9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA9B
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA9B#FFFFFF#000000##000000
##FFFA9B1.001.0819.4019.40
#FFFFFF1.081.0021.0021.00
#00000019.4021.001.001.00
##00000019.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa9b;
/* rgb */ color: rgb(255, 250, 155);
/* oklch */ color: oklch(96.9% 0.117 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffbba',
    500: '#fffa9b',
    950: '#000000',
  },
}
SCSS
$custom: #fffa9b;
$custom-light: #fffbba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa9b",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 155
  },
  "hsl": {
    "h": 57,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96854,
    "c": 0.11675,
    "h": 105.8
  },
  "luminance": 0.91998
}

Semantic roles & 50–950 ramp

primary
#FFFA9B
secondary
#5C63E2
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFA9B

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

Preview Lab → · Contrast checker → · Palette generator →

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