#CDBB52#CDBB52

#CDBB52 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.127 H 99.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDBB52
RGBrgb(205, 187, 82)
HSLhsl(51, 55%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 8.8%, 60%, 19.6%)
CIE-LABlab(75.53, -6.37, 54.24)
CIE-LCHlch(75.53, 54.62, 96.70°)
OKLaboklab(78.69% -0.0212 0.1249)
OKLCHoklch(78.69% 0.127 99.7)
XYZxyz(44.4719, 49.1308, 15.1217)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB52 #5264CD
analogous
#CD7E52 #CDBB52 #A2CD52
triadic
#CDBB52 #52CDBB #BB52CD
tetradic
#CDBB52 #52CD7E #5264CD #CD52A2
square
#CDBB52 #52CD7E #5264CD #CD52A2
split-complementary
#CDBB52 #52A2CD #7E52CD
monochromatic
#807225 #AF9D33 #CDBB52 #DBCE81 #E8E0B1

Accessibility & contrast

On white

1.94
#CDBB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CDBB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB52
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB52#FFFFFF#000000##000000
##CDBB521.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#DCAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb52;
/* rgb */ color: rgb(205, 187, 82);
/* oklch */ color: oklch(78.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#dfcf86',
    500: '#cdbb52',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb52;
$custom-light: #dfcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb52",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 51.22,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.1267,
    "h": 99.7
  },
  "luminance": 0.49129
}

Semantic roles & 50–950 ramp

primary
#CDBB52
secondary
#A4ABD7
accent
#5FDE49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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