#CDB962#CDB962

#CDB962 is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.110 H 96.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CDB962
RGBrgb(205, 185, 98)
HSLhsl(49, 52%, 59%)
HSVhsv(49, 52%, 80%)
CMYKcmyk(0%, 9.8%, 52.2%, 19.6%)
CIE-LABlab(75.18, -4.08, 46.29)
CIE-LCHlch(75.18, 46.47, 95.04°)
OKLaboklab(78.46% -0.0128 0.1095)
OKLCHoklch(78.46% 0.11 96.7)
XYZxyz(44.7319, 48.5607, 18.5698)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB962 #6276CD
analogous
#CD8462 #CDB962 #ACCD62
triadic
#CDB962 #62CDB9 #B962CD
tetradic
#CDB962 #62CD84 #6276CD #CD62AC
square
#CDB962 #62CD84 #6276CD #CD62AC
split-complementary
#CDB962 #62ACCD #8462CD
monochromatic
#89782C #B7A03A #CDB962 #DCCE90 #EBE2BF

Accessibility & contrast

On white

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

On black

10.71
#CDB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB962
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB962#FFFFFF#000000##000000
##CDB9621.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb962;
/* rgb */ color: rgb(205, 185, 98);
/* oklch */ color: oklch(78.5% 0.110 96.7);
Tailwind
colors: {
  custom: {
    50: '#decd91',
    500: '#cdb962',
    950: '#000000',
  },
}
SCSS
$custom: #cdb962;
$custom-light: #decd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb962",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 48.785,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78464,
    "c": 0.11026,
    "h": 96.7
  },
  "luminance": 0.48559
}

Semantic roles & 50–950 ramp

primary
#CDB962
secondary
#B1B8DA
accent
#67DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDB962

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

Preview Lab → · Contrast checker → · Palette generator →

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