#CDBA68#CDBA68

#CDBA68 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.105 H 96.6°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CDBA68
RGBrgb(205, 186, 104)
HSLhsl(49, 50%, 61%)
HSVhsv(49, 49%, 80%)
CMYKcmyk(0%, 9.3%, 49.3%, 19.6%)
CIE-LABlab(75.51, -4.07, 43.74)
CIE-LCHlch(75.51, 43.92, 95.32°)
OKLaboklab(78.75% -0.0121 0.1044)
OKLCHoklch(78.75% 0.105 96.6)
XYZxyz(45.2358, 49.0982, 20.1881)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA68 #687BCD
analogous
#CD8768 #CDBA68 #ADCD68
triadic
#CDBA68 #68CDBA #BA68CD
tetradic
#CDBA68 #68CD87 #687BCD #CD68AD
square
#CDBA68 #68CD87 #687BCD #CD68AD
split-complementary
#CDBA68 #68ADCD #8768CD
monochromatic
#8C7B2E #BAA33E #CDBA68 #DCCF96 #EBE4C4

Accessibility & contrast

On white

1.94
#CDBA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CDBA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA68
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA68#FFFFFF#000000##000000
##CDBA681.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B661
Deuteranopia (green-blind)
#CEBD6B
Tritanopia (blue-blind)
#DAAFA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba68;
/* rgb */ color: rgb(205, 186, 104);
/* oklch */ color: oklch(78.8% 0.105 96.6);
Tailwind
colors: {
  custom: {
    50: '#dece95',
    500: '#cdba68',
    950: '#000000',
  },
}
SCSS
$custom: #cdba68;
$custom-light: #dece95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba68",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 104
  },
  "hsl": {
    "h": 48.713,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78753,
    "c": 0.1051,
    "h": 96.6
  },
  "luminance": 0.49096
}

Semantic roles & 50–950 ramp

primary
#CDBA68
secondary
#B5BCDC
accent
#44BE28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDBA68

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

Preview Lab → · Contrast checker → · Palette generator →

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