#FFD954#FFD954

#FFD954 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.4% C 0.153 H 92.9°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#FFD954
RGBrgb(255, 217, 84)
HSLhsl(47, 100%, 66%)
HSVhsv(47, 67%, 100%)
CMYKcmyk(0%, 14.9%, 67.1%, 0%)
CIE-LABlab(87.74, -0.73, 67.84)
CIE-LCHlch(87.74, 67.84, 90.61°)
OKLaboklab(89.42% -0.0078 0.1527)
OKLCHoklch(89.42% 0.153 92.9)
XYZxyz(67.6565, 71.5296, 18.6288)
Luminance0.7153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD954 #547AFF
analogous
#FF8454 #FFD954 #CFFF54
triadic
#FFD954 #54FFD9 #D954FF
tetradic
#FFD954 #54FF84 #547AFF #FF54CF
square
#FFD954 #54FF84 #547AFF #FF54CF
split-complementary
#FFD954 #54CFFF #8454FF
monochromatic
#D9A800 #FFCB17 #FFD954 #FFE791 #FFF4CE

Accessibility & contrast

On white

1.37
#FFD954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#FFD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD954
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD954#FFFFFF#000000##000000
##FFD9541.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD543
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd954;
/* rgb */ color: rgb(255, 217, 84);
/* oklch */ color: oklch(89.4% 0.153 92.9);
Tailwind
colors: {
  custom: {
    50: '#ffe48a',
    500: '#ffd954',
    950: '#000000',
  },
}
SCSS
$custom: #ffd954;
$custom-light: #ffe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd954",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 46.667,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89417,
    "c": 0.15287,
    "h": 92.9
  },
  "luminance": 0.71526
}

Semantic roles & 50–950 ramp

primary
#FFD954
secondary
#254CD2
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD954

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

Preview Lab → · Contrast checker → · Palette generator →

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