#CDBD51#CDBD51

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

Color values

HEX#CDBD51
RGBrgb(205, 189, 81)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 7.8%, 60.5%, 19.6%)
CIE-LABlab(76.05, -7.47, 55.27)
CIE-LCHlch(76.05, 55.77, 97.70°)
OKLaboklab(79.1% -0.0245 0.127)
OKLCHoklch(79.1% 0.129 100.9)
XYZxyz(44.8613, 49.9702, 15.0651)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD51 #5161CD
analogous
#CD7F51 #CDBD51 #9FCD51
triadic
#CDBD51 #51CDBD #BD51CD
tetradic
#CDBD51 #51CD7F #5161CD #CD519F
square
#CDBD51 #51CD7F #5161CD #CD519F
split-complementary
#CDBD51 #519FCD #7F51CD
monochromatic
#7F7325 #AF9F32 #CDBD51 #DBCF81 #E8E1B0

Accessibility & contrast

On white

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

On black

10.99
#CDBD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD51
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD51#FFFFFF#000000##000000
##CDBD511.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbd51;
/* rgb */ color: rgb(205, 189, 81);
/* oklch */ color: oklch(79.1% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfd086',
    500: '#cdbd51',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd51;
$custom-light: #dfd086;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd51",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 52.258,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79098,
    "c": 0.12931,
    "h": 100.9
  },
  "luminance": 0.49968
}

Semantic roles & 50–950 ramp

primary
#CDBD51
secondary
#A3AAD7
accent
#5CDF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBD51

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

Preview Lab → · Contrast checker → · Palette generator →

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