#CDBA46#CDBA46

#CDBA46 is a light, vivid yellow. Relative luminance 0.485; 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#CDBA46
RGBrgb(205, 186, 70)
HSLhsl(52, 57%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 9.3%, 65.9%, 19.6%)
CIE-LABlab(75.16, -6.62, 59.07)
CIE-LCHlch(75.16, 59.44, 96.40°)
OKLaboklab(78.36% -0.0233 0.1334)
OKLCHoklch(78.36% 0.135 99.9)
XYZxyz(43.8431, 48.5411, 12.8531)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA46 #4659CD
analogous
#CD7746 #CDBA46 #9CCD46
triadic
#CDBA46 #46CDBA #BA46CD
tetradic
#CDBA46 #46CD77 #4659CD #CD469C
square
#CDBA46 #46CD77 #4659CD #CD469C
split-complementary
#CDBA46 #469CCD #7746CD
monochromatic
#786C20 #A8972D #CDBA46 #DACC76 #E7DEA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA46#FFFFFF#000000##000000
##CDBA461.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)
#CBB537
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba46;
/* rgb */ color: rgb(205, 186, 70);
/* oklch */ color: oklch(78.4% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#e0ce7f',
    500: '#cdba46',
    950: '#000000',
  },
}
SCSS
$custom: #cdba46;
$custom-light: #e0ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba46",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 51.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78365,
    "c": 0.13546,
    "h": 99.9
  },
  "luminance": 0.48539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBA46

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

Preview Lab → · Contrast checker → · Palette generator →

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