#FDF262#FDF262

#FDF262 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.162 H 104.9°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FDF262
RGBrgb(253, 242, 98)
HSLhsl(56, 97%, 69%)
HSVhsv(56, 61%, 99%)
CMYKcmyk(0%, 4.3%, 61.3%, 0.8%)
CIE-LABlab(94.00, -13.20, 68.69)
CIE-LCHlch(94.00, 69.95, 100.87°)
OKLaboklab(94.37% -0.0418 0.1566)
OKLCHoklch(94.37% 0.162 104.9)
XYZxyz(74.4674, 85.2714, 24.0893)
Luminance0.8527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF262 #626DFD
analogous
#FDA562 #FDF262 #BBFD62
triadic
#FDF262 #62FDF2 #F262FD
tetradic
#FDF262 #62FDA5 #626DFD #FD62BB
square
#FDF262 #62FDA5 #626DFD #FD62BB
split-complementary
#FDF262 #62BBFD #A562FD
monochromatic
#E2D203 #FCED26 #FDF262 #FEF79E #FFFCDB

Accessibility & contrast

On white

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

On black

18.05
#FDF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF262
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF262#FFFFFF#000000##000000
##FDF2621.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf262;
/* rgb */ color: rgb(253, 242, 98);
/* oklch */ color: oklch(94.4% 0.162 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fdf262',
    950: '#000000',
  },
}
SCSS
$custom: #fdf262;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf262",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 55.742,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94373,
    "c": 0.1621,
    "h": 104.9
  },
  "luminance": 0.85269
}

Semantic roles & 50–950 ramp

primary
#FDF262
secondary
#2C38D7
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF262

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

Preview Lab → · Contrast checker → · Palette generator →

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