#FDF26B#FDF26B

#FDF26B is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.155 H 104.6°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FDF26B
RGBrgb(253, 242, 107)
HSLhsl(55, 97%, 71%)
HSVhsv(55, 58%, 99%)
CMYKcmyk(0%, 4.3%, 57.7%, 0.8%)
CIE-LABlab(94.08, -12.60, 64.99)
CIE-LCHlch(94.08, 66.20, 100.98°)
OKLaboklab(94.46% -0.0391 0.1499)
OKLCHoklch(94.46% 0.155 104.6)
XYZxyz(74.9165, 85.4510, 26.4545)
Luminance0.8545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF26B #6B76FD
analogous
#FDA96B #FDF26B #BFFD6B
triadic
#FDF26B #6BFDF2 #F26BFD
tetradic
#FDF26B #6BFDA9 #6B76FD #FD6BBF
square
#FDF26B #6BFDA9 #6B76FD #FD6BBF
split-complementary
#FDF26B #6BBFFD #A96BFD
monochromatic
#EAD903 #FCED2F #FDF26B #FEF7A7 #FFFCE1

Accessibility & contrast

On white

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

On black

18.09
#FDF26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF26B
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF26B#FFFFFF#000000##000000
##FDF26B1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf26b;
/* rgb */ color: rgb(253, 242, 107);
/* oklch */ color: oklch(94.5% 0.155 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#fdf26b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf26b;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf26b",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 55.479,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94459,
    "c": 0.15494,
    "h": 104.6
  },
  "luminance": 0.85448
}

Semantic roles & 50–950 ramp

primary
#FDF26B
secondary
#3440D8
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF26B

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

Preview Lab → · Contrast checker → · Palette generator →

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