#FFDD31#FFDD31

#FFDD31 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 90.0% C 0.175 H 96.9°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#FFDD31
RGBrgb(255, 221, 49)
HSLhsl(50, 100%, 60%)
HSVhsv(50, 81%, 100%)
CMYKcmyk(0%, 13.3%, 80.8%, 0%)
CIE-LABlab(88.54, -4.18, 80.59)
CIE-LCHlch(88.54, 80.70, 92.97°)
OKLaboklab(89.99% -0.0211 0.1734)
OKLCHoklch(89.99% 0.175 96.9)
XYZxyz(67.6545, 73.1984, 13.4703)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDD31 #3153FF
analogous
#FF7631 #FFDD31 #BAFF31
triadic
#FFDD31 #31FFDD #DD31FF
tetradic
#FFDD31 #31FF76 #3153FF #FF31BA
square
#FFDD31 #31FF76 #3153FF #FF31BA
split-complementary
#FFDD31 #31BAFF #7631FF
monochromatic
#B69800 #F3CB00 #FFDD31 #FFE76E #FFF1AB

Accessibility & contrast

On white

1.34
#FFDD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#FFDD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDD31
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDD31#FFFFFF#000000##000000
##FFDD311.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D800
Deuteranopia (green-blind)
#FDE33F
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffdd31;
/* rgb */ color: rgb(255, 221, 49);
/* oklch */ color: oklch(90.0% 0.175 96.9);
Tailwind
colors: {
  custom: {
    50: '#ffe779',
    500: '#ffdd31',
    950: '#000000',
  },
}
SCSS
$custom: #ffdd31;
$custom-light: #ffe779;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdd31",
  "rgb": {
    "r": 255,
    "g": 221,
    "b": 49
  },
  "hsl": {
    "h": 50.097,
    "s": 100,
    "l": 59.608
  },
  "oklch": {
    "l": 0.89986,
    "c": 0.17471,
    "h": 96.9
  },
  "luminance": 0.73195
}

Semantic roles & 50–950 ramp

primary
#FFDD31
secondary
#2038B4
accent
#4CFF29
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFDD31

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

Preview Lab → · Contrast checker → · Palette generator →

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