#FFFA8B#FFFA8B

#FFFA8B is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.6% C 0.133 H 106.4°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FFFA8B
RGBrgb(255, 250, 139)
HSLhsl(57, 100%, 77%)
HSVhsv(57, 45%, 100%)
CMYKcmyk(0%, 2%, 45.5%, 0%)
CIE-LABlab(96.61, -13.15, 53.52)
CIE-LCHlch(96.61, 55.11, 103.80°)
OKLaboklab(96.62% -0.0376 0.128)
OKLCHoklch(96.62% 0.133 106.4)
XYZxyz(80.0875, 91.4974, 37.8630)
Luminance0.9150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA8B #8B90FF
analogous
#FFC08B #FFFA8B #CAFF8B
triadic
#FFFA8B #8BFFFA #FA8BFF
tetradic
#FFFA8B #8BFFC0 #8B90FF #FF8BCA
square
#FFFA8B #8BFFC0 #8B90FF #FF8BCA
split-complementary
#FFFA8B #8BCAFF #C08BFF
monochromatic
#FFF511 #FFF74E #FFFA8B #FFFDC8 #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FFFA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA8B
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA8B#FFFFFF#000000##000000
##FFFA8B1.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF282
Deuteranopia (green-blind)
#FFF890
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa8b;
/* rgb */ color: rgb(255, 250, 139);
/* oklch */ color: oklch(96.6% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffbaf',
    500: '#fffa8b',
    950: '#000000',
  },
}
SCSS
$custom: #fffa8b;
$custom-light: #fffbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa8b",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 139
  },
  "hsl": {
    "h": 57.414,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.96624,
    "c": 0.13341,
    "h": 106.4
  },
  "luminance": 0.91495
}

Semantic roles & 50–950 ramp

primary
#FFFA8B
secondary
#4E55E0
accent
#0AE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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