#CCBD3C#CCBD3C

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

Color values

HEX#CCBD3C
RGBrgb(204, 189, 60)
HSLhsl(54, 59%, 52%)
HSVhsv(54, 71%, 80%)
CMYKcmyk(0%, 7.4%, 70.6%, 20%)
CIE-LABlab(75.80, -9.14, 63.66)
CIE-LCHlch(75.80, 64.31, 98.17°)
OKLaboklab(78.83% -0.0315 0.1415)
OKLCHoklch(78.83% 0.145 102.6)
XYZxyz(43.9170, 49.5607, 11.5270)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD3C #3C4BCC
analogous
#CC753C #CCBD3C #93CC3C
triadic
#CCBD3C #3CCCBD #BD3CCC
tetradic
#CCBD3C #3CCC75 #3C4BCC #CC3C93
square
#CCBD3C #3CCC75 #3C4BCC #CC3C93
split-complementary
#CCBD3C #3C93CC #753CCC
monochromatic
#70681D #A1942A #CCBD3C #D9CD6D #E5DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBD3C#FFFFFF#000000##000000
##CCBD3C1.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)
#CEB727
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#DBB0A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd3c;
/* rgb */ color: rgb(204, 189, 60);
/* oklch */ color: oklch(78.8% 0.145 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd07a',
    500: '#ccbd3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd3c;
$custom-light: #dfd07a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd3c",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 60
  },
  "hsl": {
    "h": 53.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78825,
    "c": 0.14495,
    "h": 102.6
  },
  "luminance": 0.49559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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