#CDB978#CDB978

#CDB978 is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.087 H 92.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CDB978
RGBrgb(205, 185, 120)
HSLhsl(46, 46%, 64%)
HSVhsv(46, 41%, 80%)
CMYKcmyk(0%, 9.8%, 41.5%, 19.6%)
CIE-LABlab(75.47, -1.95, 35.55)
CIE-LCHlch(75.47, 35.61, 93.14°)
OKLaboklab(78.79% -0.0045 0.087)
OKLCHoklch(78.79% 0.087 92.9)
XYZxyz(45.9171, 49.0348, 24.8116)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB978 #788CCD
analogous
#CD8E78 #CDB978 #B6CD78
triadic
#CDB978 #78CDB9 #B978CD
tetradic
#CDB978 #78CD8E #788CCD #CD78B6
square
#CDB978 #78CD8E #788CCD #CD78B6
split-complementary
#CDB978 #78B6CD #8E78CD
monochromatic
#947E37 #BCA24B #CDB978 #DED0A5 #EEE7D1

Accessibility & contrast

On white

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

On black

10.81
#CDB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB978
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB978#FFFFFF#000000##000000
##CDB9781.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B673
Deuteranopia (green-blind)
#CBBD7A
Tritanopia (blue-blind)
#D9B0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdb978;
/* rgb */ color: rgb(205, 185, 120);
/* oklch */ color: oklch(78.8% 0.087 92.9);
Tailwind
colors: {
  custom: {
    50: '#decda0',
    500: '#cdb978',
    950: '#000000',
  },
}
SCSS
$custom: #cdb978;
$custom-light: #decda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb978",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 45.882,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.78793,
    "c": 0.08711,
    "h": 92.9
  },
  "luminance": 0.49033
}

Semantic roles & 50–950 ramp

primary
#CDB978
secondary
#C1C8DF
accent
#4DB92C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDB978

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

Preview Lab → · Contrast checker → · Palette generator →

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