#CDBA45#CDBA45

#CDBA45 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.136 H 100.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CDBA45
RGBrgb(205, 186, 69)
HSLhsl(52, 58%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 9.3%, 66.3%, 19.6%)
CIE-LABlab(75.16, -6.68, 59.48)
CIE-LCHlch(75.16, 59.85, 96.41°)
OKLaboklab(78.36% -0.0236 0.1341)
OKLCHoklch(78.36% 0.136 100)
XYZxyz(43.8118, 48.5286, 12.6883)
Luminance0.4853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA45 #4558CD
analogous
#CD7645 #CDBA45 #9CCD45
triadic
#CDBA45 #45CDBA #BA45CD
tetradic
#CDBA45 #45CD76 #4558CD #CD459C
square
#CDBA45 #45CD76 #4558CD #CD459C
split-complementary
#CDBA45 #459CCD #7645CD
monochromatic
#776B20 #A8972D #CDBA45 #DACC75 #E7DEA5

Accessibility & contrast

On white

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

On black

10.71
#CDBA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA45
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA45#FFFFFF#000000##000000
##CDBA451.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba45;
/* rgb */ color: rgb(205, 186, 69);
/* oklch */ color: oklch(78.4% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#e0ce7f',
    500: '#cdba45',
    950: '#000000',
  },
}
SCSS
$custom: #cdba45;
$custom-light: #e0ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba45",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 51.618,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78357,
    "c": 0.13619,
    "h": 100
  },
  "luminance": 0.48527
}

Semantic roles & 50–950 ramp

primary
#CDBA45
secondary
#9AA2D4
accent
#5CE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBA45

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

Preview Lab → · Contrast checker → · Palette generator →

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