#FFDF4D#FFDF4D

#FFDF4D is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.161 H 96.5°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#FFDF4D
RGBrgb(255, 223, 77)
HSLhsl(49, 100%, 65%)
HSVhsv(49, 70%, 100%)
CMYKcmyk(0%, 12.5%, 69.8%, 0%)
CIE-LABlab(89.19, -4.11, 72.05)
CIE-LCHlch(89.19, 72.17, 93.27°)
OKLaboklab(90.55% -0.0183 0.1604)
OKLCHoklch(90.55% 0.161 96.5)
XYZxyz(68.9706, 74.5748, 17.7812)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF4D #4D6DFF
analogous
#FF864D #FFDF4D #C6FF4D
triadic
#FFDF4D #4DFFDF #DF4DFF
tetradic
#FFDF4D #4DFF86 #4D6DFF #FF4DC6
square
#FFDF4D #4DFF86 #4D6DFF #FF4DC6
split-complementary
#FFDF4D #4DC6FF #864DFF
monochromatic
#D2AC00 #FFD410 #FFDF4D #FFEA8A #FFF5C7

Accessibility & contrast

On white

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

On black

15.91
#FFDF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF4D
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF4D#FFFFFF#000000##000000
##FFDF4D1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf4d;
/* rgb */ color: rgb(255, 223, 77);
/* oklch */ color: oklch(90.5% 0.161 96.5);
Tailwind
colors: {
  custom: {
    50: '#ffe887',
    500: '#ffdf4d',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf4d;
$custom-light: #ffe887;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf4d",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 77
  },
  "hsl": {
    "h": 49.213,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.90549,
    "c": 0.16145,
    "h": 96.5
  },
  "luminance": 0.74571
}

Semantic roles & 50–950 ramp

primary
#FFDF4D
secondary
#2442CC
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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