#D2CB56#D2CB56

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

Color values

HEX#D2CB56
RGBrgb(210, 203, 86)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 3.3%, 59%, 17.6%)
CIE-LABlab(80.23, -12.19, 57.78)
CIE-LCHlch(80.23, 59.05, 101.91°)
OKLaboklab(82.54% -0.0377 0.1329)
OKLCHoklch(82.54% 0.138 105.8)
XYZxyz(49.6156, 57.0870, 17.2076)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB56 #565DD2
analogous
#D28D56 #D2CB56 #9BD256
triadic
#D2CB56 #56D2CB #CB56D2
tetradic
#D2CB56 #56D28D #565DD2 #D2569B
square
#D2CB56 #56D28D #565DD2 #D2569B
split-complementary
#D2CB56 #569BD2 #8D56D2
monochromatic
#898325 #B9B231 #D2CB56 #DFDA86 #ECE9B7

Accessibility & contrast

On white

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

On black

12.42
#D2CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB56
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB56#FFFFFF#000000##000000
##D2CB561.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb56;
/* rgb */ color: rgb(210, 203, 86);
/* oklch */ color: oklch(82.5% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e3da8a',
    500: '#d2cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb56;
$custom-light: #e3da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb56",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 56.613,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82535,
    "c": 0.13811,
    "h": 105.8
  },
  "luminance": 0.57085
}

Semantic roles & 50–950 ramp

primary
#D2CB56
secondary
#3D4190
accent
#4FE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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