#CDCB5B#CDCB5B

#CDCB5B is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.134 H 108.1°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CDCB5B
RGBrgb(205, 203, 91)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 1%, 55.6%, 19.6%)
CIE-LABlab(79.87, -13.89, 55.04)
CIE-LCHlch(79.87, 56.76, 104.16°)
OKLaboklab(82.16% -0.0417 0.1277)
OKLCHoklch(82.16% 0.134 108.1)
XYZxyz(48.4225, 56.4477, 18.2402)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB5B #5B5DCD
analogous
#CD925B #CDCB5B #96CD5B
triadic
#CDCB5B #5BCDCB #CB5BCD
tetradic
#CDCB5B #5BCD92 #5B5DCD #CD5B96
square
#CDCB5B #5BCD92 #5B5DCD #CD5B96
split-complementary
#CDCB5B #5B96CD #925BCD
monochromatic
#858329 #B4B237 #CDCB5B #DBDA8A #EAE9B9

Accessibility & contrast

On white

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

On black

12.29
#CDCB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB5B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB5B#FFFFFF#000000##000000
##CDCB5B1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#DABFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb5b;
/* rgb */ color: rgb(205, 203, 91);
/* oklch */ color: oklch(82.2% 0.134 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfda8d',
    500: '#cdcb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb5b;
$custom-light: #dfda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb5b",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 58.947,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82164,
    "c": 0.13435,
    "h": 108.1
  },
  "luminance": 0.56446
}

Semantic roles & 50–950 ramp

primary
#CDCB5B
secondary
#40418C
accent
#4EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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