#CDBB45#CDBB45

#CDBB45 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.137 H 100.6°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CDBB45
RGBrgb(205, 187, 69)
HSLhsl(52, 58%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 8.8%, 66.3%, 19.6%)
CIE-LABlab(75.42, -7.20, 59.75)
CIE-LCHlch(75.42, 60.19, 96.87°)
OKLaboklab(78.57% -0.0251 0.1347)
OKLCHoklch(78.57% 0.137 100.6)
XYZxyz(44.0232, 48.9514, 12.7587)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB45 #4557CD
analogous
#CD7745 #CDBB45 #9BCD45
triadic
#CDBB45 #45CDBB #BB45CD
tetradic
#CDBB45 #45CD77 #4557CD #CD459B
square
#CDBB45 #45CD77 #4557CD #CD459B
split-complementary
#CDBB45 #459BCD #7745CD
monochromatic
#776C20 #A8972D #CDBB45 #DACD75 #E7DEA5

Accessibility & contrast

On white

1.95
#CDBB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CDBB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB45
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB45#FFFFFF#000000##000000
##CDBB451.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb45;
/* rgb */ color: rgb(205, 187, 69);
/* oklch */ color: oklch(78.6% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0cf7f',
    500: '#cdbb45',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb45;
$custom-light: #e0cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb45",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 52.059,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78566,
    "c": 0.13703,
    "h": 100.6
  },
  "luminance": 0.48949
}

Semantic roles & 50–950 ramp

primary
#CDBB45
secondary
#9AA2D4
accent
#5BE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBB45

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

Preview Lab → · Contrast checker → · Palette generator →

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