#CCBD5B#CCBD5B

#CCBD5B is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.120 H 100.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CCBD5B
RGBrgb(204, 189, 91)
HSLhsl(52, 53%, 58%)
HSVhsv(52, 55%, 80%)
CMYKcmyk(0%, 7.4%, 55.4%, 20%)
CIE-LABlab(76.06, -7.16, 50.67)
CIE-LCHlch(76.06, 51.17, 98.04°)
OKLaboklab(79.12% -0.0224 0.1183)
OKLCHoklch(79.12% 0.12 100.7)
XYZxyz(44.9893, 49.9896, 17.1746)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD5B #5B6ACC
analogous
#CC845B #CCBD5B #A3CC5B
triadic
#CCBD5B #5BCCBD #BD5BCC
tetradic
#CCBD5B #5BCC84 #5B6ACC #CC5BA3
square
#CCBD5B #5BCC84 #5B6ACC #CC5BA3
split-complementary
#CCBD5B #5BA3CC #845BCC
monochromatic
#847829 #B2A237 #CCBD5B #DBD08A #E9E3B8

Accessibility & contrast

On white

1.91
#CCBD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CCBD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD5B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD5B#FFFFFF#000000##000000
##CCBD5B1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB851
Deuteranopia (green-blind)
#D1BE60
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd5b;
/* rgb */ color: rgb(204, 189, 91);
/* oklch */ color: oklch(79.1% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#ded08c',
    500: '#ccbd5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd5b;
$custom-light: #ded08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd5b",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 91
  },
  "hsl": {
    "h": 52.035,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.12044,
    "h": 100.7
  },
  "luminance": 0.49988
}

Semantic roles & 50–950 ramp

primary
#CCBD5B
secondary
#ABB1D8
accent
#5FDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CCBD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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