#CDBA78#CDBA78

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

Color values

HEX#CDBA78
RGBrgb(205, 186, 120)
HSLhsl(47, 46%, 64%)
HSVhsv(47, 41%, 80%)
CMYKcmyk(0%, 9.3%, 41.5%, 19.6%)
CIE-LABlab(75.73, -2.48, 35.89)
CIE-LCHlch(75.73, 35.97, 93.95°)
OKLaboklab(79% -0.006 0.0878)
OKLCHoklch(79% 0.088 93.9)
XYZxyz(46.1270, 49.4546, 24.8816)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA78 #788BCD
analogous
#CD8F78 #CDBA78 #B5CD78
triadic
#CDBA78 #78CDBA #BA78CD
tetradic
#CDBA78 #78CD8F #788BCD #CD78B5
square
#CDBA78 #78CD8F #788BCD #CD78B5
split-complementary
#CDBA78 #78B5CD #8F78CD
monochromatic
#947F37 #BCA34B #CDBA78 #DED1A5 #EEE8D1

Accessibility & contrast

On white

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

On black

10.89
#CDBA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA78
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA78#FFFFFF#000000##000000
##CDBA781.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B773
Deuteranopia (green-blind)
#CCBD7A
Tritanopia (blue-blind)
#D9B0AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba78;
/* rgb */ color: rgb(205, 186, 120);
/* oklch */ color: oklch(79.0% 0.088 93.9);
Tailwind
colors: {
  custom: {
    50: '#decea0',
    500: '#cdba78',
    950: '#000000',
  },
}
SCSS
$custom: #cdba78;
$custom-light: #decea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba78",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 120
  },
  "hsl": {
    "h": 46.588,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.08796,
    "h": 93.9
  },
  "luminance": 0.49453
}

Semantic roles & 50–950 ramp

primary
#CDBA78
secondary
#C1C8DF
accent
#4CB92C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CDBA78

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

Preview Lab → · Contrast checker → · Palette generator →

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