#CDBC52#CDBC52

#CDBC52 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.128 H 100.3°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CDBC52
RGBrgb(205, 188, 82)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 8.3%, 60%, 19.6%)
CIE-LABlab(75.80, -6.89, 54.54)
CIE-LCHlch(75.80, 54.97, 97.20°)
OKLaboklab(78.9% -0.0227 0.1255)
OKLCHoklch(78.9% 0.128 100.3)
XYZxyz(44.6848, 49.5566, 15.1926)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC52 #5263CD
analogous
#CD7F52 #CDBC52 #A1CD52
triadic
#CDBC52 #52CDBC #BC52CD
tetradic
#CDBC52 #52CD7F #5263CD #CD52A1
square
#CDBC52 #52CD7F #5263CD #CD52A1
split-complementary
#CDBC52 #52A1CD #7F52CD
monochromatic
#807325 #AF9E33 #CDBC52 #DBCE81 #E8E1B1

Accessibility & contrast

On white

1.92
#CDBC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CDBC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC52
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC52#FFFFFF#000000##000000
##CDBC521.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D1BE57
Tritanopia (blue-blind)
#DCB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbc52;
/* rgb */ color: rgb(205, 188, 82);
/* oklch */ color: oklch(78.9% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#dfcf87',
    500: '#cdbc52',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc52;
$custom-light: #dfcf87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc52",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 51.707,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78899,
    "c": 0.12758,
    "h": 100.3
  },
  "luminance": 0.49555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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