#CCB13B#CCB13B

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

Color values

HEX#CCB13B
RGBrgb(204, 177, 59)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 13.2%, 71.1%, 20%)
CIE-LABlab(72.63, -2.95, 60.91)
CIE-LCHlch(72.63, 60.98, 92.77°)
OKLaboklab(76.31% -0.014 0.1355)
OKLCHoklch(76.31% 0.136 95.9)
XYZxyz(41.4155, 44.5996, 10.5640)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB13B #3B56CC
analogous
#CC693B #CCB13B #9ECC3B
triadic
#CCB13B #3BCCB1 #B13BCC
tetradic
#CCB13B #3BCC69 #3B56CC #CC3B9E
square
#CCB13B #3BCC69 #3B56CC #CC3B9E
split-complementary
#CCB13B #3B9ECC #693BCC
monochromatic
#70601D #A08A2A #CCB13B #D9C46C #E5D89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB13B#FFFFFF#000000##000000
##CCB13B1.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)
#C3AD29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb13b;
/* rgb */ color: rgb(204, 177, 59);
/* oklch */ color: oklch(76.3% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#dfc778',
    500: '#ccb13b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb13b;
$custom-light: #dfc778;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb13b",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 48.828,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76308,
    "c": 0.1362,
    "h": 95.9
  },
  "luminance": 0.44597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB13B

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

Preview Lab → · Contrast checker → · Palette generator →

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