#D6CB52#D6CB52

#D6CB52 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.141 H 104.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D6CB52
RGBrgb(214, 203, 82)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.1%, 61.7%, 16.1%)
CIE-LABlab(80.53, -10.79, 59.93)
CIE-LCHlch(80.53, 60.90, 100.21°)
OKLaboklab(82.84% -0.0344 0.1368)
OKLCHoklch(82.84% 0.141 104.1)
XYZxyz(50.6123, 57.6190, 16.4366)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CB52 #525DD6
analogous
#D68952 #D6CB52 #9FD652
triadic
#D6CB52 #52D6CB #CB52D6
tetradic
#D6CB52 #52D689 #525DD6 #D6529F
square
#D6CB52 #52D689 #525DD6 #D6529F
split-complementary
#D6CB52 #529FD6 #8952D6
monochromatic
#8C8321 #BEB22D #D6CB52 #E2DA83 #EDE9B5

Accessibility & contrast

On white

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

On black

12.52
#D6CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CB52
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CB52#FFFFFF#000000##000000
##D6CB521.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC444
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E5BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cb52;
/* rgb */ color: rgb(214, 203, 82);
/* oklch */ color: oklch(82.8% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#e6da88',
    500: '#d6cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d6cb52;
$custom-light: #e6da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cb52",
  "rgb": {
    "r": 214,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 55,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82841,
    "c": 0.14106,
    "h": 104.1
  },
  "luminance": 0.57617
}

Semantic roles & 50–950 ramp

primary
#D6CB52
secondary
#3A4192
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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