#CDBA79#CDBA79

#CDBA79 is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.087 H 93.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CDBA79
RGBrgb(205, 186, 121)
HSLhsl(46, 46%, 64%)
HSVhsv(46, 41%, 80%)
CMYKcmyk(0%, 9.3%, 41%, 19.6%)
CIE-LABlab(75.75, -2.37, 35.39)
CIE-LCHlch(75.75, 35.47, 93.83°)
OKLaboklab(79.02% -0.0056 0.0867)
OKLCHoklch(79.02% 0.087 93.7)
XYZxyz(46.1880, 49.4790, 25.2029)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA79 #798CCD
analogous
#CD9079 #CDBA79 #B6CD79
triadic
#CDBA79 #79CDBA #BA79CD
tetradic
#CDBA79 #79CD90 #798CCD #CD79B6
square
#CDBA79 #79CD90 #798CCD #CD79B6
split-complementary
#CDBA79 #79B6CD #9079CD
monochromatic
#947F37 #BCA34C #CDBA79 #DED1A6 #EEE8D2

Accessibility & contrast

On white

1.93
#CDBA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CDBA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA79
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA79#FFFFFF#000000##000000
##CDBA791.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B774
Deuteranopia (green-blind)
#CCBD7B
Tritanopia (blue-blind)
#D9B1AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba79;
/* rgb */ color: rgb(205, 186, 121);
/* oklch */ color: oklch(79.0% 0.087 93.7);
Tailwind
colors: {
  custom: {
    50: '#ddcea0',
    500: '#cdba79',
    950: '#000000',
  },
}
SCSS
$custom: #cdba79;
$custom-light: #ddcea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba79",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 121
  },
  "hsl": {
    "h": 46.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.79016,
    "c": 0.08684,
    "h": 93.7
  },
  "luminance": 0.49477
}

Semantic roles & 50–950 ramp

primary
#CDBA79
secondary
#C2C9E0
accent
#4CB92D
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CDBA79

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

Preview Lab → · Contrast checker → · Palette generator →

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