#CDCB5D#CDCB5D

#CDCB5D is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.133 H 108.0°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CDCB5D
RGBrgb(205, 203, 93)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 1%, 54.6%, 19.6%)
CIE-LABlab(79.89, -13.73, 54.15)
CIE-LCHlch(79.89, 55.87, 104.23°)
OKLaboklab(82.19% -0.041 0.126)
OKLCHoklch(82.19% 0.133 108)
XYZxyz(48.5099, 56.4826, 18.7007)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB5D #5D5FCD
analogous
#CD935D #CDCB5D #97CD5D
triadic
#CDCB5D #5DCDCB #CB5DCD
tetradic
#CDCB5D #5DCD93 #5D5FCD #CD5D97
square
#CDCB5D #5DCD93 #5D5FCD #CD5D97
split-complementary
#CDCB5D #5D97CD #935DCD
monochromatic
#868529 #B5B338 #CDCB5D #DBDA8C #EAE9BB

Accessibility & contrast

On white

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

On black

12.30
#CDCB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB5D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB5D#FFFFFF#000000##000000
##CDCB5D1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb5d;
/* rgb */ color: rgb(205, 203, 93);
/* oklch */ color: oklch(82.2% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfda8e',
    500: '#cdcb5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb5d;
$custom-light: #dfda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb5d",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 58.929,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82186,
    "c": 0.13255,
    "h": 108
  },
  "luminance": 0.56481
}

Semantic roles & 50–950 ramp

primary
#CDCB5D
secondary
#41428D
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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