#CDBD40#CDBD40

#CDBD40 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.142 H 101.9°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CDBD40
RGBrgb(205, 189, 64)
HSLhsl(53, 59%, 53%)
HSVhsv(53, 69%, 80%)
CMYKcmyk(0%, 7.8%, 68.8%, 19.6%)
CIE-LABlab(75.91, -8.51, 62.27)
CIE-LCHlch(75.91, 62.85, 97.78°)
OKLaboklab(78.94% -0.0294 0.1392)
OKLCHoklch(78.94% 0.142 101.9)
XYZxyz(44.3018, 49.7464, 12.1179)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD40 #4050CD
analogous
#CD7640 #CDBD40 #97CD40
triadic
#CDBD40 #40CDBD #BD40CD
tetradic
#CDBD40 #40CD76 #4050CD #CD4097
square
#CDBD40 #40CD76 #4050CD #CD4097
split-complementary
#CDBD40 #4097CD #7640CD
monochromatic
#746A1E #A5972B #CDBD40 #DACE71 #E6DFA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBD40#FFFFFF#000000##000000
##CDBD401.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)
#CEB72E
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#DCB0A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd40;
/* rgb */ color: rgb(205, 189, 64);
/* oklch */ color: oklch(78.9% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0d07c',
    500: '#cdbd40',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd40;
$custom-light: #e0d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd40",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 53.191,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78945,
    "c": 0.14226,
    "h": 101.9
  },
  "luminance": 0.49744
}

Semantic roles & 50–950 ramp

primary
#CDBD40
secondary
#969DD3
accent
#58E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBD40

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

Preview Lab → · Contrast checker → · Palette generator →

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