#CDCB7B#CDCB7B

#CDCB7B is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.102 H 107.2°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDCB7B
RGBrgb(205, 203, 123)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 1%, 40%, 19.6%)
CIE-LABlab(80.25, -10.94, 40.11)
CIE-LCHlch(80.25, 41.57, 105.26°)
OKLaboklab(82.59% -0.0302 0.0975)
OKLCHoklch(82.59% 0.102 107.2)
XYZxyz(50.1087, 57.1222, 27.1211)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB7B #7B7DCD
analogous
#CDA27B #CDCB7B #A6CD7B
triadic
#CDCB7B #7BCDCB #CB7BCD
tetradic
#CDCB7B #7BCDA2 #7B7DCD #CD7BA6
square
#CDCB7B #7BCDA2 #7B7DCD #CD7BA6
split-complementary
#CDCB7B #7BA6CD #A27BCD
monochromatic
#959338 #BCBA4F #CDCB7B #DEDCA7 #EFEED4

Accessibility & contrast

On white

1.69
#CDCB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDCB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB7B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB7B#FFFFFF#000000##000000
##CDCB7B1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C575
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#D8C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb7b;
/* rgb */ color: rgb(205, 203, 123);
/* oklch */ color: oklch(82.6% 0.102 107.2);
Tailwind
colors: {
  custom: {
    50: '#dddaa2',
    500: '#cdcb7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb7b;
$custom-light: #dddaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb7b",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 123
  },
  "hsl": {
    "h": 58.537,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8259,
    "c": 0.10207,
    "h": 107.2
  },
  "luminance": 0.57121
}

Semantic roles & 50–950 ramp

primary
#CDCB7B
secondary
#51539B
accent
#31B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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