#CDB960#CDB960

#CDB960 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.112 H 96.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CDB960
RGBrgb(205, 185, 96)
HSLhsl(49, 52%, 59%)
HSVhsv(49, 53%, 80%)
CMYKcmyk(0%, 9.8%, 53.2%, 19.6%)
CIE-LABlab(75.15, -4.25, 47.24)
CIE-LCHlch(75.15, 47.43, 95.14°)
OKLaboklab(78.44% -0.0135 0.1114)
OKLCHoklch(78.44% 0.112 96.9)
XYZxyz(44.6387, 48.5234, 18.0787)
Luminance0.4852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB960 #6074CD
analogous
#CD8360 #CDB960 #ABCD60
triadic
#CDB960 #60CDB9 #B960CD
tetradic
#CDB960 #60CD83 #6074CD #CD60AB
square
#CDB960 #60CD83 #6074CD #CD60AB
split-complementary
#CDB960 #60ABCD #8360CD
monochromatic
#88772B #B69F39 #CDB960 #DCCD8F #EAE2BD

Accessibility & contrast

On white

1.96
#CDB960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CDB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB960
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB960#FFFFFF#000000##000000
##CDB9601.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#CEBC64
Tritanopia (blue-blind)
#DBAEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb960;
/* rgb */ color: rgb(205, 185, 96);
/* oklch */ color: oklch(78.4% 0.112 96.9);
Tailwind
colors: {
  custom: {
    50: '#decd8f',
    500: '#cdb960',
    950: '#000000',
  },
}
SCSS
$custom: #cdb960;
$custom-light: #decd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb960",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 48.991,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78438,
    "c": 0.11221,
    "h": 96.9
  },
  "luminance": 0.48522
}

Semantic roles & 50–950 ramp

primary
#CDB960
secondary
#AFB7DA
accent
#67DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CDB960

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

Preview Lab → · Contrast checker → · Palette generator →

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