#CCB53C#CCB53C

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

Color values

HEX#CCB53C
RGBrgb(204, 181, 60)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 11.3%, 70.6%, 20%)
CIE-LABlab(73.68, -5.00, 61.57)
CIE-LCHlch(73.68, 61.77, 94.64°)
OKLaboklab(77.15% -0.0198 0.1371)
OKLCHoklch(77.15% 0.138 98.2)
XYZxyz(42.2433, 46.2134, 10.9691)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB53C #3C53CC
analogous
#CC6D3C #CCB53C #9BCC3C
triadic
#CCB53C #3CCCB5 #B53CCC
tetradic
#CCB53C #3CCC6D #3C53CC #CC3C9B
square
#CCB53C #3CCC6D #3C53CC #CC3C9B
split-complementary
#CCB53C #3C9BCC #6D3CCC
monochromatic
#70631D #A18E2A #CCB53C #D9C76D #E5DA9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB53C#FFFFFF#000000##000000
##CCB53C1.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)
#C7B12A
Deuteranopia (green-blind)
#CDB843
Tritanopia (blue-blind)
#DCA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb53c;
/* rgb */ color: rgb(204, 181, 60);
/* oklch */ color: oklch(77.1% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfca79',
    500: '#ccb53c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb53c;
$custom-light: #dfca79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb53c",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 60
  },
  "hsl": {
    "h": 50.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77146,
    "c": 0.13847,
    "h": 98.2
  },
  "luminance": 0.46211
}

Semantic roles & 50–950 ramp

primary
#CCB53C
secondary
#929CD1
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB53C

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

Preview Lab → · Contrast checker → · Palette generator →

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