#FFDF55#FFDF55

#FFDF55 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.156 H 96.0°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#FFDF55
RGBrgb(255, 223, 85)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 67%, 100%)
CMYKcmyk(0%, 12.5%, 66.7%, 0%)
CIE-LABlab(89.25, -3.70, 69.00)
CIE-LCHlch(89.25, 69.10, 93.07°)
OKLaboklab(90.61% -0.0163 0.1553)
OKLCHoklch(90.61% 0.156 96)
XYZxyz(69.2707, 74.6948, 19.3614)
Luminance0.7469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF55 #5575FF
analogous
#FF8A55 #FFDF55 #CAFF55
triadic
#FFDF55 #55FFDF #DF55FF
tetradic
#FFDF55 #55FF8A #5575FF #FF55CA
square
#FFDF55 #55FF8A #5575FF #FF55CA
split-complementary
#FFDF55 #55CAFF #8A55FF
monochromatic
#DAB100 #FFD318 #FFDF55 #FFEB92 #FFF6CF

Accessibility & contrast

On white

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

On black

15.94
#FFDF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF55
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF55#FFFFFF#000000##000000
##FFDF551.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA43
Deuteranopia (green-blind)
#FDE55C
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf55;
/* rgb */ color: rgb(255, 223, 85);
/* oklch */ color: oklch(90.6% 0.156 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffe88b',
    500: '#ffdf55',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf55;
$custom-light: #ffe88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf55",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 85
  },
  "hsl": {
    "h": 48.706,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90612,
    "c": 0.15614,
    "h": 96
  },
  "luminance": 0.74691
}

Semantic roles & 50–950 ramp

primary
#FFDF55
secondary
#2546D3
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF55

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

Preview Lab → · Contrast checker → · Palette generator →

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