#CDB64A#CDB64A

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

Color values

HEX#CDB64A
RGBrgb(205, 182, 74)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 11.2%, 63.9%, 19.6%)
CIE-LABlab(74.15, -4.30, 56.28)
CIE-LCHlch(74.15, 56.45, 94.37°)
OKLaboklab(77.57% -0.0162 0.1281)
OKLCHoklch(77.57% 0.129 97.2)
XYZxyz(43.1427, 46.9315, 13.2634)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB64A #4A61CD
analogous
#CD754A #CDB64A #A2CD4A
triadic
#CDB64A #4ACDB6 #B64ACD
tetradic
#CDB64A #4ACD75 #4A61CD #CD4AA2
square
#CDB64A #4ACD75 #4A61CD #CD4AA2
split-complementary
#CDB64A #4AA2CD #754ACD
monochromatic
#7B6B22 #AB952F #CDB64A #DAC97A #E7DDAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB64A#FFFFFF#000000##000000
##CDB64A1.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)
#C7B23D
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb64a;
/* rgb */ color: rgb(205, 182, 74);
/* oklch */ color: oklch(77.6% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfcb81',
    500: '#cdb64a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb64a;
$custom-light: #dfcb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb64a",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 49.466,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77568,
    "c": 0.12916,
    "h": 97.2
  },
  "luminance": 0.46929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB64A

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

Preview Lab → · Contrast checker → · Palette generator →

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