#D5CB54#D5CB54

#D5CB54 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.140 H 104.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D5CB54
RGBrgb(213, 203, 84)
HSLhsl(55, 61%, 58%)
HSVhsv(55, 61%, 84%)
CMYKcmyk(0%, 4.7%, 60.6%, 16.5%)
CIE-LABlab(80.46, -11.08, 58.98)
CIE-LCHlch(80.46, 60.01, 100.64°)
OKLaboklab(82.77% -0.0349 0.1351)
OKLCHoklch(82.77% 0.14 104.5)
XYZxyz(50.3985, 57.4999, 16.8296)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB54 #545ED5
analogous
#D58A54 #D5CB54 #9ED554
triadic
#D5CB54 #54D5CB #CB54D5
tetradic
#D5CB54 #54D58A #545ED5 #D5549E
square
#D5CB54 #54D58A #545ED5 #D5549E
split-complementary
#D5CB54 #549ED5 #8A54D5
monochromatic
#8C8422 #BDB22E #D5CB54 #E1DA85 #EDE9B6

Accessibility & contrast

On white

1.68
#D5CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D5CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB54
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB54#FFFFFF#000000##000000
##D5CB541.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#E4BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb54;
/* rgb */ color: rgb(213, 203, 84);
/* oklch */ color: oklch(82.8% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e5da89',
    500: '#d5cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb54;
$custom-light: #e5da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb54",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 55.349,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82774,
    "c": 0.13952,
    "h": 104.5
  },
  "luminance": 0.57498
}

Semantic roles & 50–950 ramp

primary
#D5CB54
secondary
#3B4292
accent
#50E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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