#CDCB8B#CDCB8B

#CDCB8B is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.084 H 106.6°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CDCB8B
RGBrgb(205, 203, 139)
HSLhsl(58, 40%, 67%)
HSVhsv(58, 32%, 80%)
CMYKcmyk(0%, 1%, 32.2%, 19.6%)
CIE-LABlab(80.49, -9.10, 32.25)
CIE-LCHlch(80.49, 33.51, 105.75°)
OKLaboklab(82.86% -0.0238 0.0801)
OKLCHoklch(82.86% 0.084 106.6)
XYZxyz(51.1934, 57.5560, 32.8337)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB8B #8B8DCD
analogous
#CDAA8B #CDCB8B #AECD8B
triadic
#CDCB8B #8BCDCB #CB8BCD
tetradic
#CDCB8B #8BCDAA #8B8DCD #CD8BAE
square
#CDCB8B #8BCDAA #8B8DCD #CD8BAE
split-complementary
#CDCB8B #8BAECD #AA8BCD
monochromatic
#9B9843 #BBB860 #CDCB8B #DFDEB6 #F2F1E1

Accessibility & contrast

On white

1.68
#CDCB8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CDCB8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB8B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB8B#FFFFFF#000000##000000
##CDCB8B1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C687
Deuteranopia (green-blind)
#D7C98E
Tritanopia (blue-blind)
#D6C3BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb8b;
/* rgb */ color: rgb(205, 203, 139);
/* oklch */ color: oklch(82.9% 0.084 106.6);
Tailwind
colors: {
  custom: {
    50: '#dddaad',
    500: '#cdcb8b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb8b;
$custom-light: #dddaad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb8b",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 139
  },
  "hsl": {
    "h": 58.182,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82862,
    "c": 0.08353,
    "h": 106.6
  },
  "luminance": 0.57555
}

Semantic roles & 50–950 ramp

primary
#CDCB8B
secondary
#5B5DA1
accent
#37B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCB8B

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

Preview Lab → · Contrast checker → · Palette generator →

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