#FFDF50#FFDF50

#FFDF50 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.160 H 96.3°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#FFDF50
RGBrgb(255, 223, 80)
HSLhsl(49, 100%, 66%)
HSVhsv(49, 69%, 100%)
CMYKcmyk(0%, 12.5%, 68.6%, 0%)
CIE-LABlab(89.21, -3.96, 70.93)
CIE-LCHlch(89.21, 71.04, 93.20°)
OKLaboklab(90.57% -0.0175 0.1586)
OKLCHoklch(90.57% 0.16 96.3)
XYZxyz(69.0790, 74.6181, 18.3520)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF50 #5070FF
analogous
#FF8850 #FFDF50 #C7FF50
triadic
#FFDF50 #50FFDF #DF50FF
tetradic
#FFDF50 #50FF88 #5070FF #FF50C7
square
#FFDF50 #50FF88 #5070FF #FF50C7
split-complementary
#FFDF50 #50C7FF #8850FF
monochromatic
#D5AE00 #FFD413 #FFDF50 #FFEA8D #FFF5CA

Accessibility & contrast

On white

1.32
#FFDF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#FFDF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF50
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF50#FFFFFF#000000##000000
##FFDF501.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3C
Deuteranopia (green-blind)
#FDE558
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf50;
/* rgb */ color: rgb(255, 223, 80);
/* oklch */ color: oklch(90.6% 0.160 96.3);
Tailwind
colors: {
  custom: {
    50: '#ffe889',
    500: '#ffdf50',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf50;
$custom-light: #ffe889;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf50",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 80
  },
  "hsl": {
    "h": 49.029,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90572,
    "c": 0.15952,
    "h": 96.3
  },
  "luminance": 0.74615
}

Semantic roles & 50–950 ramp

primary
#FFDF50
secondary
#2444CF
accent
#2AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF50

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

Preview Lab → · Contrast checker → · Palette generator →

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