#D5CC54#D5CC54

#D5CC54 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.140 H 105.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D5CC54
RGBrgb(213, 204, 84)
HSLhsl(56, 61%, 58%)
HSVhsv(56, 61%, 84%)
CMYKcmyk(0%, 4.2%, 60.6%, 16.5%)
CIE-LABlab(80.72, -11.58, 59.26)
CIE-LCHlch(80.72, 60.39, 101.06°)
OKLaboklab(82.98% -0.0364 0.1357)
OKLCHoklch(82.98% 0.14 105)
XYZxyz(50.6354, 57.9737, 16.9086)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC54 #545DD5
analogous
#D58B54 #D5CC54 #9DD554
triadic
#D5CC54 #54D5CC #CC54D5
tetradic
#D5CC54 #54D58B #545DD5 #D5549D
square
#D5CC54 #54D58B #545DD5 #D5549D
split-complementary
#D5CC54 #549DD5 #8B54D5
monochromatic
#8C8522 #BDB32E #D5CC54 #E1DB85 #EDE9B6

Accessibility & contrast

On white

1.67
#D5CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D5CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC54
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC54#FFFFFF#000000##000000
##D5CC541.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc54;
/* rgb */ color: rgb(213, 204, 84);
/* oklch */ color: oklch(83.0% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e5db89',
    500: '#d5cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc54;
$custom-light: #e5db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc54",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 55.814,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82984,
    "c": 0.14048,
    "h": 105
  },
  "luminance": 0.57972
}

Semantic roles & 50–950 ramp

primary
#D5CC54
secondary
#3B4192
accent
#4FE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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