#FFFA7B#FFFA7B

#FFFA7B is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.4% C 0.149 H 106.8°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#FFFA7B
RGBrgb(255, 250, 123)
HSLhsl(58, 100%, 74%)
HSVhsv(58, 52%, 100%)
CMYKcmyk(0%, 2%, 51.8%, 0%)
CIE-LABlab(96.44, -14.52, 60.68)
CIE-LCHlch(96.44, 62.39, 103.46°)
OKLaboklab(96.42% -0.0431 0.1423)
OKLCHoklch(96.42% 0.149 106.8)
XYZxyz(79.0029, 91.0635, 32.1504)
Luminance0.9106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA7B #7B80FF
analogous
#FFB87B #FFFA7B #C2FF7B
triadic
#FFFA7B #7BFFFA #FA7BFF
tetradic
#FFFA7B #7BFFB8 #7B80FF #FF7BC2
square
#FFFA7B #7BFFB8 #7B80FF #FF7BC2
split-complementary
#FFFA7B #7BC2FF #B87BFF
monochromatic
#FFF501 #FFF83E #FFFA7B #FFFCB8 #FFFEE0

Accessibility & contrast

On white

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

On black

19.21
#FFFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA7B
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA7B#FFFFFF#000000##000000
##FFFA7B1.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26F
Deuteranopia (green-blind)
#FFF781
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa7b;
/* rgb */ color: rgb(255, 250, 123);
/* oklch */ color: oklch(96.4% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fffa7b',
    950: '#000000',
  },
}
SCSS
$custom: #fffa7b;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa7b",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 57.727,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96424,
    "c": 0.1487,
    "h": 106.8
  },
  "luminance": 0.91061
}

Semantic roles & 50–950 ramp

primary
#FFFA7B
secondary
#4147DD
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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