#CDB970#CDB970

#CDB970 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.096 H 94.6°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CDB970
RGBrgb(205, 185, 112)
HSLhsl(47, 48%, 62%)
HSVhsv(47, 45%, 80%)
CMYKcmyk(0%, 9.8%, 45.4%, 19.6%)
CIE-LABlab(75.36, -2.78, 39.52)
CIE-LCHlch(75.36, 39.61, 94.03°)
OKLaboklab(78.66% -0.0076 0.0955)
OKLCHoklch(78.66% 0.096 94.6)
XYZxyz(45.4517, 48.8486, 22.3606)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB970 #7084CD
analogous
#CD8B70 #CDB970 #B3CD70
triadic
#CDB970 #70CDB9 #B970CD
tetradic
#CDB970 #70CD8B #7084CD #CD70B3
square
#CDB970 #70CD8B #7084CD #CD70B3
split-complementary
#CDB970 #70B3CD #8B70CD
monochromatic
#907C32 #BDA343 #CDB970 #DDCF9D #EDE5CB

Accessibility & contrast

On white

1.95
#CDB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CDB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB970
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB970#FFFFFF#000000##000000
##CDB9701.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb970;
/* rgb */ color: rgb(205, 185, 112);
/* oklch */ color: oklch(78.7% 0.096 94.6);
Tailwind
colors: {
  custom: {
    50: '#decd9a',
    500: '#cdb970',
    950: '#000000',
  },
}
SCSS
$custom: #cdb970;
$custom-light: #decd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb970",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 47.097,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.78664,
    "c": 0.09584,
    "h": 94.6
  },
  "luminance": 0.48847
}

Semantic roles & 50–950 ramp

primary
#CDB970
secondary
#BBC3DD
accent
#49BB2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDB970

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

Preview Lab → · Contrast checker → · Palette generator →

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