#D2CB52#D2CB52

#D2CB52 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.141 H 106.0°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2CB52
RGBrgb(210, 203, 82)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 61%, 82%)
CMYKcmyk(0%, 3.3%, 61%, 17.6%)
CIE-LABlab(80.19, -12.46, 59.48)
CIE-LCHlch(80.19, 60.77, 101.83°)
OKLaboklab(82.5% -0.0389 0.1359)
OKLCHoklch(82.5% 0.141 106)
XYZxyz(49.4589, 57.0243, 16.3825)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB52 #5259D2
analogous
#D28B52 #D2CB52 #99D252
triadic
#D2CB52 #52D2CB #CB52D2
tetradic
#D2CB52 #52D28B #5259D2 #D25299
square
#D2CB52 #52D28B #5259D2 #D25299
split-complementary
#D2CB52 #5299D2 #8B52D2
monochromatic
#878123 #B7B030 #D2CB52 #DFDA83 #EBE8B3

Accessibility & contrast

On white

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

On black

12.40
#D2CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB52
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB52#FFFFFF#000000##000000
##D2CB521.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb52;
/* rgb */ color: rgb(210, 203, 82);
/* oklch */ color: oklch(82.5% 0.141 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3da88',
    500: '#d2cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb52;
$custom-light: #e3da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb52",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 56.719,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82496,
    "c": 0.14139,
    "h": 106
  },
  "luminance": 0.57023
}

Semantic roles & 50–950 ramp

primary
#D2CB52
secondary
#3B3F8D
accent
#4EE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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