#CDBB5B#CDBB5B

#CDBB5B is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.119 H 98.9°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CDBB5B
RGBrgb(205, 187, 91)
HSLhsl(51, 53%, 58%)
HSVhsv(51, 56%, 80%)
CMYKcmyk(0%, 8.8%, 55.6%, 19.6%)
CIE-LABlab(75.62, -5.70, 50.18)
CIE-LCHlch(75.62, 50.50, 96.48°)
OKLaboklab(78.79% -0.0183 0.1173)
OKLCHoklch(78.79% 0.119 98.9)
XYZxyz(44.8371, 49.2769, 17.0451)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB5B #5B6DCD
analogous
#CD825B #CDBB5B #A6CD5B
triadic
#CDBB5B #5BCDBB #BB5BCD
tetradic
#CDBB5B #5BCD82 #5B6DCD #CD5BA6
square
#CDBB5B #5BCD82 #5B6DCD #CD5BA6
split-complementary
#CDBB5B #5BA6CD #825BCD
monochromatic
#857629 #B4A037 #CDBB5B #DBCE8A #EAE2B9

Accessibility & contrast

On white

1.93
#CDBB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CDBB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB5B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB5B#FFFFFF#000000##000000
##CDBB5B1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB752
Deuteranopia (green-blind)
#D0BD5F
Tritanopia (blue-blind)
#DBAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb5b;
/* rgb */ color: rgb(205, 187, 91);
/* oklch */ color: oklch(78.8% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#dfcf8c',
    500: '#cdbb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb5b;
$custom-light: #dfcf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb5b",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 50.526,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78791,
    "c": 0.11869,
    "h": 98.9
  },
  "luminance": 0.49275
}

Semantic roles & 50–950 ramp

primary
#CDBB5B
secondary
#ABB2D9
accent
#62DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDBB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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