#CDBA47#CDBA47

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

Color values

HEX#CDBA47
RGBrgb(205, 186, 71)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 9.3%, 65.4%, 19.6%)
CIE-LABlab(75.17, -6.56, 58.66)
CIE-LCHlch(75.17, 59.03, 96.38°)
OKLaboklab(78.37% -0.0231 0.1327)
OKLCHoklch(78.37% 0.135 99.9)
XYZxyz(43.8749, 48.5538, 13.0208)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA47 #475ACD
analogous
#CD7747 #CDBA47 #9DCD47
triadic
#CDBA47 #47CDBA #BA47CD
tetradic
#CDBA47 #47CD77 #475ACD #CD479D
square
#CDBA47 #47CD77 #475ACD #CD479D
split-complementary
#CDBA47 #479DCD #7747CD
monochromatic
#796C21 #A9972E #CDBA47 #DACC77 #E7DEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA47#FFFFFF#000000##000000
##CDBA471.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)
#CBB539
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba47;
/* rgb */ color: rgb(205, 186, 71);
/* oklch */ color: oklch(78.4% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#e0ce80',
    500: '#cdba47',
    950: '#000000',
  },
}
SCSS
$custom: #cdba47;
$custom-light: #e0ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba47",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 51.493,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78374,
    "c": 0.13471,
    "h": 99.9
  },
  "luminance": 0.48552
}

Semantic roles & 50–950 ramp

primary
#CDBA47
secondary
#9BA3D4
accent
#5DE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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