#D5CC51#D5CC51

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

Color values

HEX#D5CC51
RGBrgb(213, 204, 81)
HSLhsl(56, 61%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 4.2%, 62%, 16.5%)
CIE-LABlab(80.70, -11.78, 60.52)
CIE-LCHlch(80.70, 61.66, 101.02°)
OKLaboklab(82.96% -0.0373 0.1379)
OKLCHoklch(82.96% 0.143 105.1)
XYZxyz(50.5204, 57.9277, 16.3030)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC51 #515AD5
analogous
#D58A51 #D5CC51 #9CD551
triadic
#D5CC51 #51D5CC #CC51D5
tetradic
#D5CC51 #51D58A #515AD5 #D5519C
square
#D5CC51 #51D58A #515AD5 #D5519C
split-complementary
#D5CC51 #519CD5 #8A51D5
monochromatic
#8A8321 #BCB22D #D5CC51 #E1DA82 #EDE9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC51#FFFFFF#000000##000000
##D5CC511.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)
#DDC542
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc51;
/* rgb */ color: rgb(213, 204, 81);
/* oklch */ color: oklch(83.0% 0.143 105.1);
Tailwind
colors: {
  custom: {
    50: '#e5db87',
    500: '#d5cc51',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc51;
$custom-light: #e5db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc51",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 55.909,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82955,
    "c": 0.14287,
    "h": 105.1
  },
  "luminance": 0.57926
}

Semantic roles & 50–950 ramp

primary
#D5CC51
secondary
#3A4090
accent
#4FE444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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