#CDBA4A#CDBA4A

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

Color values

HEX#CDBA4A
RGBrgb(205, 186, 74)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 64%, 80%)
CMYKcmyk(0%, 9.3%, 63.9%, 19.6%)
CIE-LABlab(75.20, -6.38, 57.41)
CIE-LCHlch(75.20, 57.76, 96.34°)
OKLaboklab(78.4% -0.0222 0.1305)
OKLCHoklch(78.4% 0.132 99.7)
XYZxyz(43.9736, 48.5933, 13.5404)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4A #4A5DCD
analogous
#CD794A #CDBA4A #9ECD4A
triadic
#CDBA4A #4ACDBA #BA4ACD
tetradic
#CDBA4A #4ACD79 #4A5DCD #CD4A9E
square
#CDBA4A #4ACD79 #4A5DCD #CD4A9E
split-complementary
#CDBA4A #4A9ECD #794ACD
monochromatic
#7B6E22 #AB992F #CDBA4A #DACC7A #E7DFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA4A#FFFFFF#000000##000000
##CDBA4A1.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)
#CBB53D
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4a;
/* rgb */ color: rgb(205, 186, 74);
/* oklch */ color: oklch(78.4% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#dfce81',
    500: '#cdba4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4a;
$custom-light: #dfce81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4a",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 51.298,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78402,
    "c": 0.1324,
    "h": 99.7
  },
  "luminance": 0.48591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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