#CCB13A#CCB13A

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

Color values

HEX#CCB13A
RGBrgb(204, 177, 58)
HSLhsl(49, 59%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.2%, 71.6%, 20%)
CIE-LABlab(72.62, -3.00, 61.29)
CIE-LCHlch(72.62, 61.36, 92.80°)
OKLaboklab(76.3% -0.0143 0.1361)
OKLCHoklch(76.3% 0.137 96)
XYZxyz(41.3898, 44.5893, 10.4287)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB13A #3A55CC
analogous
#CC683A #CCB13A #9ECC3A
triadic
#CCB13A #3ACCB1 #B13ACC
tetradic
#CCB13A #3ACC68 #3A55CC #CC3A9E
square
#CCB13A #3ACC68 #3A55CC #CC3A9E
split-complementary
#CCB13A #3A9ECC #683ACC
monochromatic
#6F601D #A08A29 #CCB13A #D9C46B #E5D79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB13A#FFFFFF#000000##000000
##CCB13A1.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)
#C3AD28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb13a;
/* rgb */ color: rgb(204, 177, 58);
/* oklch */ color: oklch(76.3% 0.137 96.0);
Tailwind
colors: {
  custom: {
    50: '#dfc778',
    500: '#ccb13a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb13a;
$custom-light: #dfc778;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb13a",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 48.904,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.763,
    "c": 0.13684,
    "h": 96
  },
  "luminance": 0.44587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB13A

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

Preview Lab → · Contrast checker → · Palette generator →

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