#CDB64C#CDB64C

#CDB64C is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.128 H 97.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CDB64C
RGBrgb(205, 182, 76)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 63%, 80%)
CMYKcmyk(0%, 11.2%, 62.9%, 19.6%)
CIE-LABlab(74.16, -4.17, 55.42)
CIE-LCHlch(74.16, 55.58, 94.30°)
OKLaboklab(77.59% -0.0156 0.1266)
OKLCHoklch(77.59% 0.128 97)
XYZxyz(43.2112, 46.9589, 13.6240)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB64C #4C63CD
analogous
#CD754C #CDB64C #A4CD4C
triadic
#CDB64C #4CCDB6 #B64CCD
tetradic
#CDB64C #4CCD75 #4C63CD #CD4CA4
square
#CDB64C #4CCD75 #4C63CD #CD4CA4
split-complementary
#CDB64C #4CA4CD #754CCD
monochromatic
#7C6C23 #AC9630 #CDB64C #DACA7C #E8DDAC

Accessibility & contrast

On white

2.02
#CDB64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#CDB64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB64C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB64C#FFFFFF#000000##000000
##CDB64C1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B240
Deuteranopia (green-blind)
#CDBA51
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb64c;
/* rgb */ color: rgb(205, 182, 76);
/* oklch */ color: oklch(77.6% 0.128 97.0);
Tailwind
colors: {
  custom: {
    50: '#dfcb82',
    500: '#cdb64c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb64c;
$custom-light: #dfcb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb64c",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 49.302,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77588,
    "c": 0.12756,
    "h": 97
  },
  "luminance": 0.46957
}

Semantic roles & 50–950 ramp

primary
#CDB64C
secondary
#9FA9D5
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB64C

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

Preview Lab → · Contrast checker → · Palette generator →

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