#CCB13D#CCB13D

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

Color values

HEX#CCB13D
RGBrgb(204, 177, 61)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 13.2%, 70.1%, 20%)
CIE-LABlab(72.64, -2.85, 60.13)
CIE-LCHlch(72.64, 60.20, 92.71°)
OKLaboklab(76.32% -0.0135 0.1342)
OKLCHoklch(76.32% 0.135 95.8)
XYZxyz(41.4683, 44.6208, 10.8424)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB13D #3D58CC
analogous
#CC6A3D #CCB13D #A0CC3D
triadic
#CCB13D #3DCCB1 #B13DCC
tetradic
#CCB13D #3DCC6A #3D58CC #CC3DA0
square
#CCB13D #3DCC6A #3D58CC #CC3DA0
split-complementary
#CCB13D #3DA0CC #6A3DCC
monochromatic
#71611E #A18B2A #CCB13D #D9C46D #E5D89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB13D#FFFFFF#000000##000000
##CCB13D1.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)
#C3AD2C
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb13d;
/* rgb */ color: rgb(204, 177, 61);
/* oklch */ color: oklch(76.3% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfc779',
    500: '#ccb13d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb13d;
$custom-light: #dfc779;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb13d",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 48.671,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76323,
    "c": 0.13486,
    "h": 95.8
  },
  "luminance": 0.44619
}

Semantic roles & 50–950 ramp

primary
#CCB13D
secondary
#939FD2
accent
#64E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB13D

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

Preview Lab → · Contrast checker → · Palette generator →

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