#CDCB50#CDCB50

#CDCB50 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.144 H 108.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CDCB50
RGBrgb(205, 203, 80)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 61%, 19.6%)
CIE-LABlab(79.77, -14.67, 59.75)
CIE-LCHlch(79.77, 61.52, 103.80°)
OKLaboklab(82.05% -0.0451 0.1364)
OKLCHoklch(82.05% 0.144 108.3)
XYZxyz(47.9823, 56.2716, 15.9218)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB50 #5052CD
analogous
#CD8C50 #CDCB50 #90CD50
triadic
#CDCB50 #50CDCB #CB50CD
tetradic
#CDCB50 #50CD8C #5052CD #CD5090
square
#CDCB50 #50CD8C #5052CD #CD5090
split-complementary
#CDCB50 #5090CD #8C50CD
monochromatic
#7E7D24 #AEAC32 #CDCB50 #DBD980 #E8E7AF

Accessibility & contrast

On white

1.71
#CDCB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CDCB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB50
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB50#FFFFFF#000000##000000
##CDCB501.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC341
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb50;
/* rgb */ color: rgb(205, 203, 80);
/* oklch */ color: oklch(82.1% 0.144 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfda86',
    500: '#cdcb50',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb50;
$custom-light: #dfda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb50",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 59.04,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82052,
    "c": 0.14362,
    "h": 108.3
  },
  "luminance": 0.5627
}

Semantic roles & 50–950 ramp

primary
#CDCB50
secondary
#3B3C86
accent
#4BDF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCB50

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

Preview Lab → · Contrast checker → · Palette generator →

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