#CDBB4B#CDBB4B

#CDBB4B is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.6% C 0.132 H 100.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CDBB4B
RGBrgb(205, 187, 75)
HSLhsl(52, 57%, 55%)
HSVhsv(52, 63%, 80%)
CMYKcmyk(0%, 8.8%, 63.4%, 19.6%)
CIE-LABlab(75.47, -6.84, 57.27)
CIE-LCHlch(75.47, 57.68, 96.81°)
OKLaboklab(78.62% -0.0234 0.1304)
OKLCHoklch(78.62% 0.132 100.2)
XYZxyz(44.2190, 49.0297, 13.7897)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB4B #4B5DCD
analogous
#CD7A4B #CDBB4B #9ECD4B
triadic
#CDBB4B #4BCDBB #BB4BCD
tetradic
#CDBB4B #4BCD7A #4B5DCD #CD4B9E
square
#CDBB4B #4BCD7A #4B5DCD #CD4B9E
split-complementary
#CDBB4B #4B9ECD #7A4BCD
monochromatic
#7B6F22 #AB9A30 #CDBB4B #DACD7B #E8DFAB

Accessibility & contrast

On white

1.94
#CDBB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CDBB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB4B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB4B#FFFFFF#000000##000000
##CDBB4B1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63E
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb4b;
/* rgb */ color: rgb(205, 187, 75);
/* oklch */ color: oklch(78.6% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#dfcf82',
    500: '#cdbb4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb4b;
$custom-light: #dfcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb4b",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 51.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7862,
    "c": 0.13246,
    "h": 100.2
  },
  "luminance": 0.49028
}

Semantic roles & 50–950 ramp

primary
#CDBB4B
secondary
#9FA6D5
accent
#5DE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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