#FDF862#FDF862

#FDF862 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.168 H 107.4°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FDF862
RGBrgb(253, 248, 98)
HSLhsl(58, 97%, 69%)
HSVhsv(58, 61%, 99%)
CMYKcmyk(0%, 2%, 61.3%, 0.8%)
CIE-LABlab(95.54, -16.12, 70.34)
CIE-LCHlch(95.54, 72.16, 102.90°)
OKLaboklab(95.6% -0.0501 0.1601)
OKLCHoklch(95.6% 0.168 107.4)
XYZxyz(76.2826, 88.9017, 24.6944)
Luminance0.8890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF862 #6267FD
analogous
#FDAB62 #FDF862 #B4FD62
triadic
#FDF862 #62FDF8 #F862FD
tetradic
#FDF862 #62FDAB #6267FD #FD62B4
square
#FDF862 #62FDAB #6267FD #FD62B4
split-complementary
#FDF862 #62B4FD #AB62FD
monochromatic
#E2DB03 #FCF526 #FDF862 #FEFB9E #FFFDDB

Accessibility & contrast

On white

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

On black

18.78
#FDF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF862
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF862#FFFFFF#000000##000000
##FDF8621.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF50
Deuteranopia (green-blind)
#FFF56B
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf862;
/* rgb */ color: rgb(253, 248, 98);
/* oklch */ color: oklch(95.6% 0.168 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffa95',
    500: '#fdf862',
    950: '#000000',
  },
}
SCSS
$custom: #fdf862;
$custom-light: #fffa95;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf862",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 58.065,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95599,
    "c": 0.16776,
    "h": 107.4
  },
  "luminance": 0.88899
}

Semantic roles & 50–950 ramp

primary
#FDF862
secondary
#2C32D7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF862

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

Preview Lab → · Contrast checker → · Palette generator →

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