#FDF76B#FDF76B

#FDF76B is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.160 H 106.8°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FDF76B
RGBrgb(253, 247, 107)
HSLhsl(58, 97%, 71%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 2.4%, 57.7%, 0.8%)
CIE-LABlab(95.36, -15.04, 66.41)
CIE-LCHlch(95.36, 68.09, 102.76°)
OKLaboklab(95.48% -0.0461 0.1529)
OKLCHoklch(95.48% 0.16 106.8)
XYZxyz(76.4250, 88.4681, 26.9573)
Luminance0.8847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF76B #6B71FD
analogous
#FDAE6B #FDF76B #BAFD6B
triadic
#FDF76B #6BFDF7 #F76BFD
tetradic
#FDF76B #6BFDAE #6B71FD #FD6BBA
square
#FDF76B #6BFDAE #6B71FD #FD6BBA
split-complementary
#FDF76B #6BBAFD #AE6BFD
monochromatic
#EAE103 #FCF42F #FDF76B #FEFAA7 #FFFDE1

Accessibility & contrast

On white

1.12
#FDF76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#FDF76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF76B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF76B#FFFFFF#000000##000000
##FDF76B1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5C
Deuteranopia (green-blind)
#FFF473
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf76b;
/* rgb */ color: rgb(253, 247, 107);
/* oklch */ color: oklch(95.5% 0.160 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff99a',
    500: '#fdf76b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf76b;
$custom-light: #fff99a;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf76b",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 57.534,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95478,
    "c": 0.15973,
    "h": 106.8
  },
  "luminance": 0.88466
}

Semantic roles & 50–950 ramp

primary
#FDF76B
secondary
#343AD8
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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