#CDBD52#CDBD52

#CDBD52 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.128 H 100.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CDBD52
RGBrgb(205, 189, 82)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 7.8%, 60%, 19.6%)
CIE-LABlab(76.06, -7.41, 54.83)
CIE-LCHlch(76.06, 55.33, 97.69°)
OKLaboklab(79.11% -0.0242 0.1262)
OKLCHoklch(79.11% 0.128 100.9)
XYZxyz(44.8991, 49.9853, 15.2641)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD52 #5262CD
analogous
#CD8052 #CDBD52 #A0CD52
triadic
#CDBD52 #52CDBD #BD52CD
tetradic
#CDBD52 #52CD80 #5262CD #CD52A0
square
#CDBD52 #52CD80 #5262CD #CD52A0
split-complementary
#CDBD52 #52A0CD #8052CD
monochromatic
#807425 #AF9F33 #CDBD52 #DBCF81 #E8E1B1

Accessibility & contrast

On white

1.91
#CDBD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CDBD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD52
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD52#FFFFFF#000000##000000
##CDBD521.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#DCB1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd52;
/* rgb */ color: rgb(205, 189, 82);
/* oklch */ color: oklch(79.1% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfd087',
    500: '#cdbd52',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd52;
$custom-light: #dfd087;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd52",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 52.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79109,
    "c": 0.12846,
    "h": 100.9
  },
  "luminance": 0.49984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBD52

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

Preview Lab → · Contrast checker → · Palette generator →

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