#CDBC42#CDBC42

#CDBC42 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.140 H 101.3°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CDBC42
RGBrgb(205, 188, 66)
HSLhsl(53, 58%, 53%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 8.3%, 67.8%, 19.6%)
CIE-LABlab(75.66, -7.88, 61.22)
CIE-LCHlch(75.66, 61.73, 97.34°)
OKLaboklab(78.75% -0.0274 0.1373)
OKLCHoklch(78.75% 0.14 101.3)
XYZxyz(44.1453, 49.3408, 12.3516)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC42 #4253CD
analogous
#CD7642 #CDBC42 #98CD42
triadic
#CDBC42 #42CDBC #BC42CD
tetradic
#CDBC42 #42CD76 #4253CD #CD4298
square
#CDBC42 #42CD76 #4253CD #CD4298
split-complementary
#CDBC42 #4298CD #7642CD
monochromatic
#766B1F #A6972C #CDBC42 #DACD72 #E7DEA3

Accessibility & contrast

On white

1.93
#CDBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#CDBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC42
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC42#FFFFFF#000000##000000
##CDBC421.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#DCAFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbc42;
/* rgb */ color: rgb(205, 188, 66);
/* oklch */ color: oklch(78.8% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0cf7d',
    500: '#cdbc42',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc42;
$custom-light: #e0cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc42",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 52.662,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78751,
    "c": 0.14002,
    "h": 101.3
  },
  "luminance": 0.49339
}

Semantic roles & 50–950 ramp

primary
#CDBC42
secondary
#979FD3
accent
#59E146
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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