#CCBD39#CCBD39

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

Color values

HEX#CCBD39
RGBrgb(204, 189, 57)
HSLhsl(54, 59%, 51%)
HSVhsv(54, 72%, 80%)
CMYKcmyk(0%, 7.4%, 72.1%, 20%)
CIE-LABlab(75.78, -9.28, 64.75)
CIE-LCHlch(75.78, 65.41, 98.16°)
OKLaboklab(78.8% -0.0322 0.1432)
OKLCHoklch(78.8% 0.147 102.7)
XYZxyz(43.8399, 49.5298, 11.1211)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD39 #3948CC
analogous
#CC7339 #CCBD39 #91CC39
triadic
#CCBD39 #39CCBD #BD39CC
tetradic
#CCBD39 #39CC73 #3948CC #CC3991
square
#CCBD39 #39CC73 #3948CC #CC3991
split-complementary
#CCBD39 #3991CC #7339CC
monochromatic
#6E661C #9F9329 #CCBD39 #D9CD6A #E5DD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBD39#FFFFFF#000000##000000
##CCBD391.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbd39;
/* rgb */ color: rgb(204, 189, 57);
/* oklch */ color: oklch(78.8% 0.147 102.7);
Tailwind
colors: {
  custom: {
    50: '#dfd078',
    500: '#ccbd39',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd39;
$custom-light: #dfd078;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd39",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 57
  },
  "hsl": {
    "h": 53.878,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78803,
    "c": 0.14682,
    "h": 102.7
  },
  "luminance": 0.49528
}

Semantic roles & 50–950 ramp

primary
#CCBD39
secondary
#9097D1
accent
#56E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCBD39

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

Preview Lab → · Contrast checker → · Palette generator →

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