#FFDE40#FFDE40

#FFDE40 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.3% C 0.168 H 96.7°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#FFDE40
RGBrgb(255, 222, 64)
HSLhsl(50, 100%, 63%)
HSVhsv(50, 75%, 100%)
CMYKcmyk(0%, 12.9%, 74.9%, 0%)
CIE-LABlab(88.86, -4.17, 76.34)
CIE-LCHlch(88.86, 76.46, 93.13°)
OKLaboklab(90.26% -0.0198 0.1672)
OKLCHoklch(90.26% 0.168 96.7)
XYZxyz(68.2903, 73.8764, 15.5121)
Luminance0.7387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDE40 #4061FF
analogous
#FF7F40 #FFDE40 #C0FF40
triadic
#FFDE40 #40FFDE #DE40FF
tetradic
#FFDE40 #40FF7F #4061FF #FF40C0
square
#FFDE40 #40FF7F #4061FF #FF40C0
split-complementary
#FFDE40 #40C0FF #7F40FF
monochromatic
#C5A300 #FFD303 #FFDE40 #FFE97D #FFF3BA

Accessibility & contrast

On white

1.33
#FFDE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#FFDE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDE40
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDE40#FFFFFF#000000##000000
##FFDE401.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D921
Deuteranopia (green-blind)
#FDE44A
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ffde40;
/* rgb */ color: rgb(255, 222, 64);
/* oklch */ color: oklch(90.3% 0.168 96.7);
Tailwind
colors: {
  custom: {
    50: '#ffe780',
    500: '#ffde40',
    950: '#000000',
  },
}
SCSS
$custom: #ffde40;
$custom-light: #ffe780;
$custom-dark: #000000;
JSON
{
  "hex": "#ffde40",
  "rgb": {
    "r": 255,
    "g": 222,
    "b": 64
  },
  "hsl": {
    "h": 49.634,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90264,
    "c": 0.16833,
    "h": 96.7
  },
  "luminance": 0.73873
}

Semantic roles & 50–950 ramp

primary
#FFDE40
secondary
#223EC1
accent
#28E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19160B
muted
#87847E

Preview Lab

Preview with #FFDE40

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

Preview Lab → · Contrast checker → · Palette generator →

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