#FDF362#FDF362

#FDF362 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.6% C 0.163 H 105.4°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FDF362
RGBrgb(253, 243, 98)
HSLhsl(56, 97%, 69%)
HSVhsv(56, 61%, 99%)
CMYKcmyk(0%, 4%, 61.3%, 0.8%)
CIE-LABlab(94.26, -13.68, 68.97)
CIE-LCHlch(94.26, 70.31, 101.22°)
OKLaboklab(94.58% -0.0432 0.1572)
OKLCHoklch(94.58% 0.163 105.4)
XYZxyz(74.7658, 85.8682, 24.1888)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF362 #626CFD
analogous
#FDA662 #FDF362 #BAFD62
triadic
#FDF362 #62FDF3 #F362FD
tetradic
#FDF362 #62FDA6 #626CFD #FD62BA
square
#FDF362 #62FDA6 #626CFD #FD62BA
split-complementary
#FDF362 #62BAFD #A662FD
monochromatic
#E2D303 #FCEE26 #FDF362 #FEF89E #FFFCDB

Accessibility & contrast

On white

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

On black

18.17
#FDF362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF362
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF362#FFFFFF#000000##000000
##FDF3621.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf362;
/* rgb */ color: rgb(253, 243, 98);
/* oklch */ color: oklch(94.6% 0.163 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fdf362',
    950: '#000000',
  },
}
SCSS
$custom: #fdf362;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf362",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 98
  },
  "hsl": {
    "h": 56.129,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94577,
    "c": 0.16302,
    "h": 105.4
  },
  "luminance": 0.85866
}

Semantic roles & 50–950 ramp

primary
#FDF362
secondary
#2C37D7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF362

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

Preview Lab → · Contrast checker → · Palette generator →

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