#CDB64B#CDB64B

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

Color values

HEX#CDB64B
RGBrgb(205, 182, 75)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 63%, 80%)
CMYKcmyk(0%, 11.2%, 63.4%, 19.6%)
CIE-LABlab(74.15, -4.24, 55.85)
CIE-LCHlch(74.15, 56.01, 94.34°)
OKLaboklab(77.58% -0.0159 0.1274)
OKLCHoklch(77.58% 0.128 97.1)
XYZxyz(43.1767, 46.9451, 13.4423)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB64B #4B62CD
analogous
#CD754B #CDB64B #A3CD4B
triadic
#CDB64B #4BCDB6 #B64BCD
tetradic
#CDB64B #4BCD75 #4B62CD #CD4BA3
square
#CDB64B #4BCD75 #4B62CD #CD4BA3
split-complementary
#CDB64B #4BA3CD #754BCD
monochromatic
#7B6C22 #AB9530 #CDB64B #DAC97B #E8DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cdb64b;
/* rgb */ color: rgb(205, 182, 75);
/* oklch */ color: oklch(77.6% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfcb82',
    500: '#cdb64b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb64b;
$custom-light: #dfcb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb64b",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 49.385,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77578,
    "c": 0.12836,
    "h": 97.1
  },
  "luminance": 0.46943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB64B

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

Preview Lab → · Contrast checker → · Palette generator →

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