#FDF462#FDF462

#FDF462 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.164 H 105.8°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#FDF462
RGBrgb(253, 244, 98)
HSLhsl(57, 97%, 69%)
HSVhsv(57, 61%, 99%)
CMYKcmyk(0%, 3.6%, 61.3%, 0.8%)
CIE-LABlab(94.51, -14.17, 69.24)
CIE-LCHlch(94.51, 70.68, 101.57°)
OKLaboklab(94.78% -0.0446 0.1578)
OKLCHoklch(94.78% 0.164 105.8)
XYZxyz(75.0659, 86.4684, 24.2888)
Luminance0.8647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF462 #626BFD
analogous
#FDA762 #FDF462 #B9FD62
triadic
#FDF462 #62FDF4 #F462FD
tetradic
#FDF462 #62FDA7 #626BFD #FD62B9
square
#FDF462 #62FDA7 #626BFD #FD62B9
split-complementary
#FDF462 #62B9FD #A762FD
monochromatic
#E2D503 #FCF026 #FDF462 #FEF89E #FFFCDB

Accessibility & contrast

On white

1.15
#FDF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#FDF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF462
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF462#FFFFFF#000000##000000
##FDF4621.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf462;
/* rgb */ color: rgb(253, 244, 98);
/* oklch */ color: oklch(94.8% 0.164 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff794',
    500: '#fdf462',
    950: '#000000',
  },
}
SCSS
$custom: #fdf462;
$custom-light: #fff794;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf462",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 56.516,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94781,
    "c": 0.16396,
    "h": 105.8
  },
  "luminance": 0.86466
}

Semantic roles & 50–950 ramp

primary
#FDF462
secondary
#2C36D7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF462

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

Preview Lab → · Contrast checker → · Palette generator →

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