#CDBC50#CDBC50

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

Color values

HEX#CDBC50
RGBrgb(205, 188, 80)
HSLhsl(52, 56%, 56%)
HSVhsv(52, 61%, 80%)
CMYKcmyk(0%, 8.3%, 61%, 19.6%)
CIE-LABlab(75.78, -7.03, 55.41)
CIE-LCHlch(75.78, 55.85, 97.23°)
OKLaboklab(78.88% -0.0233 0.1271)
OKLCHoklch(78.88% 0.129 100.4)
XYZxyz(44.6098, 49.5266, 14.7977)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC50 #5061CD
analogous
#CD7D50 #CDBC50 #9FCD50
triadic
#CDBC50 #50CDBC #BC50CD
tetradic
#CDBC50 #50CD7D #5061CD #CD509F
square
#CDBC50 #50CD7D #5061CD #CD509F
split-complementary
#CDBC50 #509FCD #7D50CD
monochromatic
#7E7224 #AE9D32 #CDBC50 #DBCE80 #E8E0AF

Accessibility & contrast

On white

1.93
#CDBC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBC50#FFFFFF#000000##000000
##CDBC501.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbc50;
/* rgb */ color: rgb(205, 188, 80);
/* oklch */ color: oklch(78.9% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfcf85',
    500: '#cdbc50',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc50;
$custom-light: #dfcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc50",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 51.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78879,
    "c": 0.12927,
    "h": 100.4
  },
  "luminance": 0.49525
}

Semantic roles & 50–950 ramp

primary
#CDBC50
secondary
#A2AAD6
accent
#5DDF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBC50

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

Preview Lab → · Contrast checker → · Palette generator →

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