#CDCB45#CDCB45

#CDCB45 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.152 H 108.5°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CDCB45
RGBrgb(205, 203, 69)
HSLhsl(59, 58%, 54%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1%, 66.3%, 19.6%)
CIE-LABlab(79.68, -15.34, 64.14)
CIE-LCHlch(79.68, 65.95, 103.45°)
OKLaboklab(81.96% -0.0481 0.144)
OKLCHoklch(81.96% 0.152 108.5)
XYZxyz(47.6086, 56.1221, 13.9539)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB45 #4547CD
analogous
#CD8745 #CDCB45 #8BCD45
triadic
#CDCB45 #45CDCB #CB45CD
tetradic
#CDCB45 #45CD87 #4547CD #CD458B
square
#CDCB45 #45CD87 #4547CD #CD458B
split-complementary
#CDCB45 #458BCD #8745CD
monochromatic
#777620 #A8A62D #CDCB45 #DAD875 #E7E6A5

Accessibility & contrast

On white

1.72
#CDCB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CDCB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB45
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB45#FFFFFF#000000##000000
##CDCB451.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb45;
/* rgb */ color: rgb(205, 203, 69);
/* oklch */ color: oklch(82.0% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#e0da80',
    500: '#cdcb45',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb45;
$custom-light: #e0da80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb45",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 59.118,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81958,
    "c": 0.1518,
    "h": 108.5
  },
  "luminance": 0.56121
}

Semantic roles & 50–950 ramp

primary
#CDCB45
secondary
#363780
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB45

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

Preview Lab → · Contrast checker → · Palette generator →

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