#CDB63A#CDB63A

#CDB63A is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.141 H 98.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CDB63A
RGBrgb(205, 182, 58)
HSLhsl(51, 60%, 52%)
HSVhsv(51, 72%, 80%)
CMYKcmyk(0%, 11.2%, 71.7%, 19.6%)
CIE-LABlab(74.02, -5.18, 62.70)
CIE-LCHlch(74.02, 62.92, 94.73°)
OKLaboklab(77.43% -0.0206 0.1391)
OKLCHoklch(77.43% 0.141 98.4)
XYZxyz(42.6706, 46.7426, 10.7768)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB63A #3A51CD
analogous
#CD6D3A #CDB63A #9BCD3A
triadic
#CDB63A #3ACDB6 #B63ACD
tetradic
#CDB63A #3ACD6D #3A51CD #CD3A9B
square
#CDB63A #3ACD6D #3A51CD #CD3A9B
split-complementary
#CDB63A #3A9BCD #6D3ACD
monochromatic
#70631C #A18E29 #CDB63A #D9C86B #E6DA9C

Accessibility & contrast

On white

2.03
#CDB63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CDB63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB63A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB63A#FFFFFF#000000##000000
##CDB63A1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B126
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#DDA89D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb63a;
/* rgb */ color: rgb(205, 182, 58);
/* oklch */ color: oklch(77.4% 0.141 98.4);
Tailwind
colors: {
  custom: {
    50: '#e0cb78',
    500: '#cdb63a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb63a;
$custom-light: #e0cb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb63a",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 58
  },
  "hsl": {
    "h": 50.612,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77434,
    "c": 0.14056,
    "h": 98.4
  },
  "luminance": 0.46741
}

Semantic roles & 50–950 ramp

primary
#CDB63A
secondary
#919BD2
accent
#5EE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB63A

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

Preview Lab → · Contrast checker → · Palette generator →

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