#FDF26F#FDF26F

#FDF26F is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.152 H 104.5°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FDF26F
RGBrgb(253, 242, 111)
HSLhsl(55, 97%, 71%)
HSVhsv(55, 56%, 99%)
CMYKcmyk(0%, 4.3%, 56.1%, 0.8%)
CIE-LABlab(94.11, -12.32, 63.29)
CIE-LCHlch(94.11, 64.48, 101.02°)
OKLaboklab(94.5% -0.0379 0.1468)
OKLCHoklch(94.5% 0.152 104.5)
XYZxyz(75.1318, 85.5371, 27.5885)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF26F #6F7AFD
analogous
#FDAB6F #FDF26F #C1FD6F
triadic
#FDF26F #6FFDF2 #F26FFD
tetradic
#FDF26F #6FFDAB #6F7AFD #FD6FC1
square
#FDF26F #6FFDAB #6F7AFD #FD6FC1
split-complementary
#FDF26F #6FC1FD #AB6FFD
monochromatic
#EEDC03 #FCED33 #FDF26F #FEF7AB #FFFCE1

Accessibility & contrast

On white

1.16
#FDF26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#FDF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF26F
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF26F#FFFFFF#000000##000000
##FDF26F1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA61
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf26f;
/* rgb */ color: rgb(253, 242, 111);
/* oklch */ color: oklch(94.5% 0.152 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#fdf26f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf26f;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf26f",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 55.352,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94501,
    "c": 0.15157,
    "h": 104.5
  },
  "luminance": 0.85535
}

Semantic roles & 50–950 ramp

primary
#FDF26F
secondary
#3744D9
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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