#CDB968#CDB968

#CDB968 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.104 H 95.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CDB968
RGBrgb(205, 185, 104)
HSLhsl(48, 50%, 61%)
HSVhsv(48, 49%, 80%)
CMYKcmyk(0%, 9.8%, 49.3%, 19.6%)
CIE-LABlab(75.25, -3.55, 43.42)
CIE-LCHlch(75.25, 43.56, 94.67°)
OKLaboklab(78.55% -0.0106 0.1037)
OKLCHoklch(78.55% 0.104 95.9)
XYZxyz(45.0259, 48.6783, 20.1181)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB968 #687CCD
analogous
#CD8668 #CDB968 #AECD68
triadic
#CDB968 #68CDB9 #B968CD
tetradic
#CDB968 #68CD86 #687CCD #CD68AE
square
#CDB968 #68CD86 #687CCD #CD68AE
split-complementary
#CDB968 #68AECD #8668CD
monochromatic
#8C7A2E #BAA23E #CDB968 #DCCE96 #EBE4C4

Accessibility & contrast

On white

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

On black

10.74
#CDB968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB968
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB968#FFFFFF#000000##000000
##CDB9681.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B661
Deuteranopia (green-blind)
#CDBC6B
Tritanopia (blue-blind)
#DAAEA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb968;
/* rgb */ color: rgb(205, 185, 104);
/* oklch */ color: oklch(78.5% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#decd95',
    500: '#cdb968',
    950: '#000000',
  },
}
SCSS
$custom: #cdb968;
$custom-light: #decd95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb968",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 104
  },
  "hsl": {
    "h": 48.119,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78546,
    "c": 0.10423,
    "h": 95.9
  },
  "luminance": 0.48677
}

Semantic roles & 50–950 ramp

primary
#CDB968
secondary
#B5BDDC
accent
#46BE28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDB968

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

Preview Lab → · Contrast checker → · Palette generator →

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