#CDCB72#CDCB72

#CDCB72 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.112 H 107.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCB72
RGBrgb(205, 203, 114)
HSLhsl(59, 48%, 63%)
HSVhsv(59, 44%, 80%)
CMYKcmyk(0%, 1%, 44.4%, 19.6%)
CIE-LABlab(80.13, -11.87, 44.44)
CIE-LCHlch(80.13, 46.00, 104.96°)
OKLaboklab(82.45% -0.0336 0.1067)
OKLCHoklch(82.45% 0.112 107.5)
XYZxyz(49.5710, 56.9071, 24.2892)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB72 #7274CD
analogous
#CD9D72 #CDCB72 #A2CD72
triadic
#CDCB72 #72CDCB #CB72CD
tetradic
#CDCB72 #72CD9D #7274CD #CD72A2
square
#CDCB72 #72CD9D #7274CD #CD72A2
split-complementary
#CDCB72 #72A2CD #9D72CD
monochromatic
#918F33 #BDBA45 #CDCB72 #DDDC9F #EDECCC

Accessibility & contrast

On white

1.70
#CDCB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDCB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB72
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB72#FFFFFF#000000##000000
##CDCB721.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56B
Deuteranopia (green-blind)
#DAC876
Tritanopia (blue-blind)
#D9C1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb72;
/* rgb */ color: rgb(205, 203, 114);
/* oklch */ color: oklch(82.5% 0.112 107.5);
Tailwind
colors: {
  custom: {
    50: '#deda9c',
    500: '#cdcb72',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb72;
$custom-light: #deda9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb72",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 58.681,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82454,
    "c": 0.11187,
    "h": 107.5
  },
  "luminance": 0.56906
}

Semantic roles & 50–950 ramp

primary
#CDCB72
secondary
#4C4D97
accent
#2EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCB72

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

Preview Lab → · Contrast checker → · Palette generator →

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