#CDB63B#CDB63B

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

Color values

HEX#CDB63B
RGBrgb(205, 182, 59)
HSLhsl(51, 59%, 52%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 11.2%, 71.2%, 19.6%)
CIE-LABlab(74.03, -5.14, 62.33)
CIE-LCHlch(74.03, 62.54, 94.71°)
OKLaboklab(77.44% -0.0203 0.1384)
OKLCHoklch(77.44% 0.14 98.4)
XYZxyz(42.6963, 46.7529, 10.9121)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB63B #3B52CD
analogous
#CD6D3B #CDB63B #9BCD3B
triadic
#CDB63B #3BCDB6 #B63BCD
tetradic
#CDB63B #3BCD6D #3B52CD #CD3B9B
square
#CDB63B #3BCD6D #3B52CD #CD3B9B
split-complementary
#CDB63B #3B9BCD #6D3BCD
monochromatic
#71641D #A28F29 #CDB63B #D9C86C #E6DA9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB63B#FFFFFF#000000##000000
##CDB63B1.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)
#C8B128
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#DDA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb63b;
/* rgb */ color: rgb(205, 182, 59);
/* oklch */ color: oklch(77.4% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#e0cb79',
    500: '#cdb63b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb63b;
$custom-light: #e0cb79;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb63b",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 59
  },
  "hsl": {
    "h": 50.548,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77441,
    "c": 0.13992,
    "h": 98.4
  },
  "luminance": 0.46751
}

Semantic roles & 50–950 ramp

primary
#CDB63B
secondary
#929CD2
accent
#5EE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB63B

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

Preview Lab → · Contrast checker → · Palette generator →

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