#D2CB55#D2CB55

#D2CB55 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.139 H 105.9°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D2CB55
RGBrgb(210, 203, 85)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 3.3%, 59.5%, 17.6%)
CIE-LABlab(80.22, -12.26, 58.21)
CIE-LCHlch(80.22, 59.48, 101.89°)
OKLaboklab(82.53% -0.038 0.1336)
OKLCHoklch(82.53% 0.139 105.9)
XYZxyz(49.5756, 57.0710, 16.9969)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB55 #555CD2
analogous
#D28C55 #D2CB55 #9AD255
triadic
#D2CB55 #55D2CB #CB55D2
tetradic
#D2CB55 #55D28C #555CD2 #D2559A
square
#D2CB55 #55D28C #555CD2 #D2559A
split-complementary
#D2CB55 #559AD2 #8C55D2
monochromatic
#888324 #B9B131 #D2CB55 #DFDA85 #ECE9B6

Accessibility & contrast

On white

1.69
#D2CB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D2CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB55
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB55#FFFFFF#000000##000000
##D2CB551.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb55;
/* rgb */ color: rgb(210, 203, 85);
/* oklch */ color: oklch(82.5% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#e3da89',
    500: '#d2cb55',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb55;
$custom-light: #e3da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb55",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 56.64,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.13894,
    "h": 105.9
  },
  "luminance": 0.57069
}

Semantic roles & 50–950 ramp

primary
#D2CB55
secondary
#3C418F
accent
#4FE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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