#FFFB7D#FFFB7D

#FFFB7D is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.7% C 0.148 H 107.2°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FFFB7D
RGBrgb(255, 251, 125)
HSLhsl(58, 100%, 75%)
HSVhsv(58, 51%, 100%)
CMYKcmyk(0%, 1.6%, 51%, 0%)
CIE-LABlab(96.71, -14.85, 60.10)
CIE-LCHlch(96.71, 61.90, 103.88°)
OKLaboklab(96.65% -0.0438 0.1413)
OKLCHoklch(96.65% 0.148 107.2)
XYZxyz(79.4409, 91.7372, 32.9204)
Luminance0.9173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB7D #7D81FF
analogous
#FFBA7D #FFFB7D #C2FF7D
triadic
#FFFB7D #7DFFFB #FB7DFF
tetradic
#FFFB7D #7DFFBA #7D81FF #FF7DC2
square
#FFFB7D #7DFFBA #7D81FF #FF7DC2
split-complementary
#FFFB7D #7DC2FF #BA7DFF
monochromatic
#FFF703 #FFF940 #FFFB7D #FFFDBA #FFFEE0

Accessibility & contrast

On white

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

On black

19.35
#FFFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB7D
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB7D#FFFFFF#000000##000000
##FFFB7D1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF371
Deuteranopia (green-blind)
#FFF883
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb7d;
/* rgb */ color: rgb(255, 251, 125);
/* oklch */ color: oklch(96.7% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffca6',
    500: '#fffb7d',
    950: '#000000',
  },
}
SCSS
$custom: #fffb7d;
$custom-light: #fffca6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb7d",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 58.154,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96651,
    "c": 0.1479,
    "h": 107.2
  },
  "luminance": 0.91735
}

Semantic roles & 50–950 ramp

primary
#FFFB7D
secondary
#4247DE
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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