#CCB13C#CCB13C

#CCB13C is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.136 H 95.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB13C
RGBrgb(204, 177, 60)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 13.2%, 70.6%, 20%)
CIE-LABlab(72.63, -2.90, 60.52)
CIE-LCHlch(72.63, 60.59, 92.75°)
OKLaboklab(76.32% -0.0138 0.1348)
OKLCHoklch(76.32% 0.136 95.8)
XYZxyz(41.4417, 44.6101, 10.7019)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB13C #3C57CC
analogous
#CC693C #CCB13C #9FCC3C
triadic
#CCB13C #3CCCB1 #B13CCC
tetradic
#CCB13C #3CCC69 #3C57CC #CC3C9F
square
#CCB13C #3CCC69 #3C57CC #CC3C9F
split-complementary
#CCB13C #3C9FCC #693CCC
monochromatic
#70611D #A18A2A #CCB13C #D9C46D #E5D89D

Accessibility & contrast

On white

2.12
#CCB13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CCB13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB13C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB13C#FFFFFF#000000##000000
##CCB13C1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2B
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb13c;
/* rgb */ color: rgb(204, 177, 60);
/* oklch */ color: oklch(76.3% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfc779',
    500: '#ccb13c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb13c;
$custom-light: #dfc779;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb13c",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 48.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76315,
    "c": 0.13553,
    "h": 95.8
  },
  "luminance": 0.44608
}

Semantic roles & 50–950 ramp

primary
#CCB13C
secondary
#929ED1
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB13C

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

Preview Lab → · Contrast checker → · Palette generator →

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