#CDBD71#CDBD71

#CDBD71 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.5% C 0.098 H 97.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CDBD71
RGBrgb(205, 189, 113)
HSLhsl(50, 48%, 62%)
HSVhsv(50, 45%, 80%)
CMYKcmyk(0%, 7.8%, 44.9%, 19.6%)
CIE-LABlab(76.42, -4.77, 40.33)
CIE-LCHlch(76.42, 40.62, 96.75°)
OKLaboklab(79.51% -0.0133 0.0975)
OKLCHoklch(79.51% 0.098 97.8)
XYZxyz(46.3563, 50.5682, 22.9384)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD71 #7181CD
analogous
#CD8F71 #CDBD71 #AFCD71
triadic
#CDBD71 #71CDBD #BD71CD
tetradic
#CDBD71 #71CD8F #7181CD #CD71AF
square
#CDBD71 #71CD8F #7181CD #CD71AF
split-complementary
#CDBD71 #71AFCD #8F71CD
monochromatic
#918033 #BDA844 #CDBD71 #DDD29E #EDE7CC

Accessibility & contrast

On white

1.89
#CDBD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CDBD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD71
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD71#FFFFFF#000000##000000
##CDBD711.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB96B
Deuteranopia (green-blind)
#CFBF74
Tritanopia (blue-blind)
#DAB3AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbd71;
/* rgb */ color: rgb(205, 189, 113);
/* oklch */ color: oklch(79.5% 0.098 97.8);
Tailwind
colors: {
  custom: {
    50: '#ded09b',
    500: '#cdbd71',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd71;
$custom-light: #ded09b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd71",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 113
  },
  "hsl": {
    "h": 49.565,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79507,
    "c": 0.09835,
    "h": 97.8
  },
  "luminance": 0.50567
}

Semantic roles & 50–950 ramp

primary
#CDBD71
secondary
#4B5897
accent
#44BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDBD71

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

Preview Lab → · Contrast checker → · Palette generator →

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