#D5CB51#D5CB51

#D5CB51 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.142 H 104.6°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D5CB51
RGBrgb(213, 203, 81)
HSLhsl(55, 61%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 4.7%, 62%, 16.5%)
CIE-LABlab(80.43, -11.28, 60.24)
CIE-LCHlch(80.43, 61.28, 100.60°)
OKLaboklab(82.75% -0.0358 0.1373)
OKLCHoklch(82.75% 0.142 104.6)
XYZxyz(50.2835, 57.4539, 16.2240)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB51 #515BD5
analogous
#D58951 #D5CB51 #9DD551
triadic
#D5CB51 #51D5CB #CB51D5
tetradic
#D5CB51 #51D589 #515BD5 #D5519D
square
#D5CB51 #51D589 #515BD5 #D5519D
split-complementary
#D5CB51 #519DD5 #8951D5
monochromatic
#8A8221 #BCB12D #D5CB51 #E1DA82 #EDE8B4

Accessibility & contrast

On white

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

On black

12.49
#D5CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB51
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB51#FFFFFF#000000##000000
##D5CB511.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC442
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#E4BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb51;
/* rgb */ color: rgb(213, 203, 81);
/* oklch */ color: oklch(82.7% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e5da87',
    500: '#d5cb51',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb51;
$custom-light: #e5da87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb51",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 55.455,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82745,
    "c": 0.14192,
    "h": 104.6
  },
  "luminance": 0.57452
}

Semantic roles & 50–950 ramp

primary
#D5CB51
secondary
#3A4090
accent
#50E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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