#FFDF62#FFDF62

#FFDF62 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.146 H 94.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#FFDF62
RGBrgb(255, 223, 98)
HSLhsl(48, 100%, 69%)
HSVhsv(48, 62%, 100%)
CMYKcmyk(0%, 12.5%, 61.6%, 0%)
CIE-LABlab(89.36, -2.94, 63.69)
CIE-LCHlch(89.36, 63.76, 92.64°)
OKLaboklab(90.73% -0.0126 0.146)
OKLCHoklch(90.73% 0.147 94.9)
XYZxyz(69.8354, 74.9207, 22.3356)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF62 #6282FF
analogous
#FF9162 #FFDF62 #D0FF62
triadic
#FFDF62 #62FFDF #DF62FF
tetradic
#FFDF62 #62FF91 #6282FF #FF62D0
square
#FFDF62 #62FF91 #6282FF #FF62D0
split-complementary
#FFDF62 #62D0FF #9162FF
monochromatic
#E7B800 #FFD325 #FFDF62 #FFEB9F #FFF8DC

Accessibility & contrast

On white

1.31
#FFDF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#FFDF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF62
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF62#FFFFFF#000000##000000
##FFDF621.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf62;
/* rgb */ color: rgb(255, 223, 98);
/* oklch */ color: oklch(90.7% 0.146 94.9);
Tailwind
colors: {
  custom: {
    50: '#ffe893',
    500: '#ffdf62',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf62;
$custom-light: #ffe893;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf62",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 47.771,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9073,
    "c": 0.1465,
    "h": 94.9
  },
  "luminance": 0.74917
}

Semantic roles & 50–950 ramp

primary
#FFDF62
secondary
#2C4FDA
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF62

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

Preview Lab → · Contrast checker → · Palette generator →

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