#CCBD3B#CCBD3B

#CCBD3B is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.146 H 102.6°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCBD3B
RGBrgb(204, 189, 59)
HSLhsl(54, 59%, 52%)
HSVhsv(54, 71%, 80%)
CMYKcmyk(0%, 7.4%, 71.1%, 20%)
CIE-LABlab(75.79, -9.19, 64.03)
CIE-LCHlch(75.79, 64.69, 98.17°)
OKLaboklab(78.82% -0.0318 0.1421)
OKLCHoklch(78.82% 0.146 102.6)
XYZxyz(43.8908, 49.5502, 11.3890)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD3B #3B4ACC
analogous
#CC753B #CCBD3B #93CC3B
triadic
#CCBD3B #3BCCBD #BD3BCC
tetradic
#CCBD3B #3BCC75 #3B4ACC #CC3B93
square
#CCBD3B #3BCC75 #3B4ACC #CC3B93
split-complementary
#CCBD3B #3B93CC #753BCC
monochromatic
#70671D #A0942A #CCBD3B #D9CD6C #E5DE9C

Accessibility & contrast

On white

1.92
#CCBD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CCBD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD3B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD3B#FFFFFF#000000##000000
##CCBD3B1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB726
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#DBB0A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd3b;
/* rgb */ color: rgb(204, 189, 59);
/* oklch */ color: oklch(78.8% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd079',
    500: '#ccbd3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd3b;
$custom-light: #dfd079;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd3b",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 59
  },
  "hsl": {
    "h": 53.793,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78817,
    "c": 0.14558,
    "h": 102.6
  },
  "luminance": 0.49548
}

Semantic roles & 50–950 ramp

primary
#CCBD3B
secondary
#9298D1
accent
#56E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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