#FFD54C#FFD54C

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

Color values

HEX#FFD54C
RGBrgb(255, 213, 76)
HSLhsl(46, 100%, 65%)
HSVhsv(46, 70%, 100%)
CMYKcmyk(0%, 16.5%, 70.2%, 0%)
CIE-LABlab(86.69, 0.90, 69.92)
CIE-LCHlch(86.69, 69.93, 89.26°)
OKLaboklab(88.57% -0.0041 0.1557)
OKLCHoklch(88.57% 0.156 91.5)
XYZxyz(66.3424, 69.3742, 16.7323)
Luminance0.6937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD54C #4C76FF
analogous
#FF7C4C #FFD54C #CFFF4C
triadic
#FFD54C #4CFFD5 #D54CFF
tetradic
#FFD54C #4CFF7C #4C76FF #FF4CCF
square
#FFD54C #4CFF7C #4C76FF #FF4CCF
split-complementary
#FFD54C #4CCFFF #7C4CFF
monochromatic
#D1A000 #FFC70F #FFD54C #FFE389 #FFF2C6

Accessibility & contrast

On white

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

On black

14.87
#FFD54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD54C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD54C#FFFFFF#000000##000000
##FFD54C1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd54c;
/* rgb */ color: rgb(255, 213, 76);
/* oklch */ color: oklch(88.6% 0.156 91.5);
Tailwind
colors: {
  custom: {
    50: '#ffe186',
    500: '#ffd54c',
    950: '#000000',
  },
}
SCSS
$custom: #ffd54c;
$custom-light: #ffe186;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd54c",
  "rgb": {
    "r": 255,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 45.922,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88568,
    "c": 0.15579,
    "h": 91.5
  },
  "luminance": 0.6937
}

Semantic roles & 50–950 ramp

primary
#FFD54C
secondary
#244BCB
accent
#36E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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