#CDBA40#CDBA40

#CDBA40 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.140 H 100.3°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CDBA40
RGBrgb(205, 186, 64)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 80%)
CMYKcmyk(0%, 9.3%, 68.8%, 19.6%)
CIE-LABlab(75.12, -6.96, 61.47)
CIE-LCHlch(75.12, 61.86, 96.46°)
OKLaboklab(78.32% -0.025 0.1375)
OKLCHoklch(78.32% 0.14 100.3)
XYZxyz(43.6631, 48.4691, 11.9051)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA40 #4053CD
analogous
#CD7440 #CDBA40 #99CD40
triadic
#CDBA40 #40CDBA #BA40CD
tetradic
#CDBA40 #40CD74 #4053CD #CD4099
square
#CDBA40 #40CD74 #4053CD #CD4099
split-complementary
#CDBA40 #4099CD #7440CD
monochromatic
#74691E #A5942B #CDBA40 #DACC71 #E6DDA1

Accessibility & contrast

On white

1.96
#CDBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CDBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA40
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA40#FFFFFF#000000##000000
##CDBA401.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52F
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#DDADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba40;
/* rgb */ color: rgb(205, 186, 64);
/* oklch */ color: oklch(78.3% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0ce7c',
    500: '#cdba40',
    950: '#000000',
  },
}
SCSS
$custom: #cdba40;
$custom-light: #e0ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba40",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 51.915,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78315,
    "c": 0.13975,
    "h": 100.3
  },
  "luminance": 0.48467
}

Semantic roles & 50–950 ramp

primary
#CDBA40
secondary
#969ED3
accent
#5BE246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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