#CCBD45#CCBD45

#CCBD45 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.139 H 102.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CCBD45
RGBrgb(204, 189, 69)
HSLhsl(53, 57%, 54%)
HSVhsv(53, 66%, 80%)
CMYKcmyk(0%, 7.4%, 66.2%, 20%)
CIE-LABlab(75.86, -8.66, 60.18)
CIE-LCHlch(75.86, 60.80, 98.19°)
OKLaboklab(78.9% -0.0292 0.1357)
OKLCHoklch(78.9% 0.139 102.1)
XYZxyz(44.1754, 49.6641, 12.8883)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD45 #4554CC
analogous
#CC7945 #CCBD45 #97CC45
triadic
#CCBD45 #45CCBD #BD45CC
tetradic
#CCBD45 #45CC79 #4554CC #CC4597
square
#CCBD45 #45CC79 #4554CC #CC4597
split-complementary
#CCBD45 #4597CC #7945CC
monochromatic
#766D20 #A6992E #CCBD45 #D9CE75 #E6DFA5

Accessibility & contrast

On white

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

On black

10.93
#CCBD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD45
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD45#FFFFFF#000000##000000
##CCBD451.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#DBB0A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd45;
/* rgb */ color: rgb(204, 189, 69);
/* oklch */ color: oklch(78.9% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfd07f',
    500: '#ccbd45',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd45;
$custom-light: #dfd07f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd45",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 53.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78896,
    "c": 0.13875,
    "h": 102.1
  },
  "luminance": 0.49662
}

Semantic roles & 50–950 ramp

primary
#CCBD45
secondary
#99A0D3
accent
#59E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBD45

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

Preview Lab → · Contrast checker → · Palette generator →

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