#FFD54D#FFD54D

#FFD54D is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.6% C 0.155 H 91.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#FFD54D
RGBrgb(255, 213, 77)
HSLhsl(46, 100%, 65%)
HSVhsv(46, 70%, 100%)
CMYKcmyk(0%, 16.5%, 69.8%, 0%)
CIE-LABlab(86.70, 0.95, 69.54)
CIE-LCHlch(86.70, 69.55, 89.22°)
OKLaboklab(88.58% -0.0038 0.1551)
OKLCHoklch(88.58% 0.155 91.4)
XYZxyz(66.3774, 69.3882, 16.9168)
Luminance0.6938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD54D #4D77FF
analogous
#FF7C4D #FFD54D #D0FF4D
triadic
#FFD54D #4DFFD5 #D54DFF
tetradic
#FFD54D #4DFF7C #4D77FF #FF4DD0
square
#FFD54D #4DFF7C #4D77FF #FF4DD0
split-complementary
#FFD54D #4DD0FF #7C4DFF
monochromatic
#D2A000 #FFC710 #FFD54D #FFE38A #FFF2C7

Accessibility & contrast

On white

1.41
#FFD54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#FFD54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD54D
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD54D#FFFFFF#000000##000000
##FFD54D1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23A
Deuteranopia (green-blind)
#F6DE54
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ffd54d;
/* rgb */ color: rgb(255, 213, 77);
/* oklch */ color: oklch(88.6% 0.155 91.4);
Tailwind
colors: {
  custom: {
    50: '#ffe186',
    500: '#ffd54d',
    950: '#000000',
  },
}
SCSS
$custom: #ffd54d;
$custom-light: #ffe186;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd54d",
  "rgb": {
    "r": 255,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 45.843,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88575,
    "c": 0.15516,
    "h": 91.4
  },
  "luminance": 0.69384
}

Semantic roles & 50–950 ramp

primary
#FFD54D
secondary
#244CCC
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD54D

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

Preview Lab → · Contrast checker → · Palette generator →

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