#CDBB42#CDBB42

#CDBB42 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.5% C 0.139 H 100.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CDBB42
RGBrgb(205, 187, 66)
HSLhsl(52, 58%, 53%)
HSVhsv(52, 68%, 80%)
CMYKcmyk(0%, 8.8%, 67.8%, 19.6%)
CIE-LABlab(75.40, -7.37, 60.95)
CIE-LCHlch(75.40, 61.40, 96.89°)
OKLaboklab(78.54% -0.0259 0.1368)
OKLCHoklch(78.54% 0.139 100.7)
XYZxyz(43.9324, 48.9151, 12.2807)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB42 #4254CD
analogous
#CD7542 #CDBB42 #99CD42
triadic
#CDBB42 #42CDBB #BB42CD
tetradic
#CDBB42 #42CD75 #4254CD #CD4299
square
#CDBB42 #42CD75 #4254CD #CD4299
split-complementary
#CDBB42 #4299CD #7542CD
monochromatic
#766A1F #A6962C #CDBB42 #DACC72 #E7DEA3

Accessibility & contrast

On white

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

On black

10.78
#CDBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB42
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB42#FFFFFF#000000##000000
##CDBB421.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#D1BD49
Tritanopia (blue-blind)
#DCAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb42;
/* rgb */ color: rgb(205, 187, 66);
/* oklch */ color: oklch(78.5% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#e0cf7d',
    500: '#cdbb42',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb42;
$custom-light: #e0cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb42",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 52.23,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78541,
    "c": 0.13918,
    "h": 100.7
  },
  "luminance": 0.48913
}

Semantic roles & 50–950 ramp

primary
#CDBB42
secondary
#979FD3
accent
#5AE146
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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