#CDBA4C#CDBA4C

#CDBA4C is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.131 H 99.5°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CDBA4C
RGBrgb(205, 186, 76)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.3%, 62.9%, 19.6%)
CIE-LABlab(75.21, -6.25, 56.56)
CIE-LCHlch(75.21, 56.91, 96.31°)
OKLaboklab(78.42% -0.0216 0.129)
OKLCHoklch(78.42% 0.131 99.5)
XYZxyz(44.0421, 48.6207, 13.9009)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4C #4C5FCD
analogous
#CD7A4C #CDBA4C #9FCD4C
triadic
#CDBA4C #4CCDBA #BA4CCD
tetradic
#CDBA4C #4CCD7A #4C5FCD #CD4C9F
square
#CDBA4C #4CCD7A #4C5FCD #CD4C9F
split-complementary
#CDBA4C #4C9FCD #7A4CCD
monochromatic
#7C6F23 #AC9A30 #CDBA4C #DACC7C #E8DFAC

Accessibility & contrast

On white

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

On black

10.72
#CDBA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA4C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA4C#FFFFFF#000000##000000
##CDBA4C1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#DCADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4c;
/* rgb */ color: rgb(205, 186, 76);
/* oklch */ color: oklch(78.4% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#dfce83',
    500: '#cdba4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4c;
$custom-light: #dfce83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4c",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 51.163,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78421,
    "c": 0.13082,
    "h": 99.5
  },
  "luminance": 0.48619
}

Semantic roles & 50–950 ramp

primary
#CDBA4C
secondary
#9FA7D5
accent
#5EE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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