#CCB53A#CCB53A

#CCB53A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.140 H 98.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CCB53A
RGBrgb(204, 181, 58)
HSLhsl(51, 59%, 51%)
HSVhsv(51, 72%, 80%)
CMYKcmyk(0%, 11.3%, 71.6%, 20%)
CIE-LABlab(73.67, -5.09, 62.32)
CIE-LCHlch(73.67, 62.53, 94.67°)
OKLaboklab(77.13% -0.0203 0.1383)
OKLCHoklch(77.13% 0.14 98.3)
XYZxyz(42.1915, 46.1927, 10.6959)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB53A #3A51CC
analogous
#CC6C3A #CCB53A #9ACC3A
triadic
#CCB53A #3ACCB5 #B53ACC
tetradic
#CCB53A #3ACC6C #3A51CC #CC3A9A
square
#CCB53A #3ACC6C #3A51CC #CC3A9A
split-complementary
#CCB53A #3A9ACC #6C3ACC
monochromatic
#6F621D #A08D29 #CCB53A #D9C76B #E5DA9B

Accessibility & contrast

On white

2.05
#CCB53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CCB53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB53A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB53A#FFFFFF#000000##000000
##CCB53A1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B027
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#DCA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb53a;
/* rgb */ color: rgb(204, 181, 58);
/* oklch */ color: oklch(77.1% 0.140 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#ccb53a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb53a;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb53a",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 50.548,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77131,
    "c": 0.13976,
    "h": 98.3
  },
  "luminance": 0.46191
}

Semantic roles & 50–950 ramp

primary
#CCB53A
secondary
#919BD1
accent
#5EE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB53A

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

Preview Lab → · Contrast checker → · Palette generator →

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