#CCBB3D#CCBB3D

#CCBB3D is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.143 H 101.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CCBB3D
RGBrgb(204, 187, 61)
HSLhsl(53, 58%, 52%)
HSVhsv(53, 70%, 80%)
CMYKcmyk(0%, 8.3%, 70.1%, 20%)
CIE-LABlab(75.27, -8.06, 62.76)
CIE-LCHlch(75.27, 63.28, 97.32°)
OKLaboklab(78.41% -0.0283 0.1398)
OKLCHoklch(78.41% 0.143 101.5)
XYZxyz(43.5164, 48.7168, 11.5251)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB3D #3D4ECC
analogous
#CC743D #CCBB3D #96CC3D
triadic
#CCBB3D #3DCCBB #BB3DCC
tetradic
#CCBB3D #3DCC74 #3D4ECC #CC3D96
square
#CCBB3D #3DCC74 #3D4ECC #CC3D96
split-complementary
#CCBB3D #3D96CC #743DCC
monochromatic
#71671E #A1932A #CCBB3D #D9CC6D #E5DD9E

Accessibility & contrast

On white

1.95
#CCBB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CCBB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB3D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB3D#FFFFFF#000000##000000
##CCBB3D1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52A
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#DBAEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccbb3d;
/* rgb */ color: rgb(204, 187, 61);
/* oklch */ color: oklch(78.4% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfcf7a',
    500: '#ccbb3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb3d;
$custom-light: #dfcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb3d",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 61
  },
  "hsl": {
    "h": 52.867,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7841,
    "c": 0.1426,
    "h": 101.5
  },
  "luminance": 0.48715
}

Semantic roles & 50–950 ramp

primary
#CCBB3D
secondary
#939BD2
accent
#59E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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