#CDBB51#CDBB51

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

Color values

HEX#CDBB51
RGBrgb(205, 187, 81)
HSLhsl(51, 55%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 8.8%, 60.5%, 19.6%)
CIE-LABlab(75.52, -6.44, 54.68)
CIE-LCHlch(75.52, 55.06, 96.72°)
OKLaboklab(78.68% -0.0215 0.1257)
OKLCHoklch(78.68% 0.128 99.7)
XYZxyz(44.4341, 49.1157, 14.9227)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB51 #5163CD
analogous
#CD7D51 #CDBB51 #A1CD51
triadic
#CDBB51 #51CDBB #BB51CD
tetradic
#CDBB51 #51CD7D #5163CD #CD51A1
square
#CDBB51 #51CD7D #5163CD #CD51A1
split-complementary
#CDBB51 #51A1CD #7D51CD
monochromatic
#7F7225 #AF9D32 #CDBB51 #DBCE81 #E8E0B0

Accessibility & contrast

On white

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

On black

10.82
#CDBB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB51
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB51#FFFFFF#000000##000000
##CDBB511.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbb51;
/* rgb */ color: rgb(205, 187, 81);
/* oklch */ color: oklch(78.7% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#dfcf86',
    500: '#cdbb51',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb51;
$custom-light: #dfcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb51",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 51.29,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7868,
    "c": 0.12755,
    "h": 99.7
  },
  "luminance": 0.49114
}

Semantic roles & 50–950 ramp

primary
#CDBB51
secondary
#A3ABD7
accent
#5FDF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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