#CDBD42#CDBD42

#CDBD42 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.141 H 101.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CDBD42
RGBrgb(205, 189, 66)
HSLhsl(53, 58%, 53%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 7.8%, 67.8%, 19.6%)
CIE-LABlab(75.93, -8.40, 61.49)
CIE-LCHlch(75.93, 62.06, 97.78°)
OKLaboklab(78.96% -0.0288 0.1379)
OKLCHoklch(78.96% 0.141 101.8)
XYZxyz(44.3597, 49.7696, 12.4231)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD42 #4252CD
analogous
#CD7842 #CDBD42 #97CD42
triadic
#CDBD42 #42CDBD #BD42CD
tetradic
#CDBD42 #42CD78 #4252CD #CD4297
square
#CDBD42 #42CD78 #4252CD #CD4297
split-complementary
#CDBD42 #4297CD #7842CD
monochromatic
#766C1F #A6982C #CDBD42 #DACE72 #E7DFA3

Accessibility & contrast

On white

1.92
#CDBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#CDBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD42
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD42#FFFFFF#000000##000000
##CDBD421.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#DCB0A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd42;
/* rgb */ color: rgb(205, 189, 66);
/* oklch */ color: oklch(79.0% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e0d07d',
    500: '#cdbd42',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd42;
$custom-light: #e0d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd42",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 53.094,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78961,
    "c": 0.14087,
    "h": 101.8
  },
  "luminance": 0.49768
}

Semantic roles & 50–950 ramp

primary
#CDBD42
secondary
#979ED3
accent
#58E146
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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