#CCB73A#CCB73A

#CCB73A is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.141 H 99.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CCB73A
RGBrgb(204, 183, 58)
HSLhsl(51, 59%, 51%)
HSVhsv(51, 72%, 80%)
CMYKcmyk(0%, 10.3%, 71.6%, 20%)
CIE-LABlab(74.20, -6.14, 62.84)
CIE-LCHlch(74.20, 63.14, 95.58°)
OKLaboklab(77.55% -0.0232 0.1394)
OKLCHoklch(77.55% 0.141 99.5)
XYZxyz(42.6011, 47.0119, 10.8324)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB73A #3A4FCC
analogous
#CC6E3A #CCB73A #98CC3A
triadic
#CCB73A #3ACCB7 #B73ACC
tetradic
#CCB73A #3ACC6E #3A4FCC #CC3A98
square
#CCB73A #3ACC6E #3A4FCC #CC3A98
split-complementary
#CCB73A #3A98CC #6E3ACC
monochromatic
#6F631D #A08F29 #CCB73A #D9C96B #E5DB9B

Accessibility & contrast

On white

2.02
#CCB73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CCB73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB73A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB73A#FFFFFF#000000##000000
##CCB73A1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#DCAA9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb73a;
/* rgb */ color: rgb(204, 183, 58);
/* oklch */ color: oklch(77.5% 0.141 99.5);
Tailwind
colors: {
  custom: {
    50: '#dfcc78',
    500: '#ccb73a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb73a;
$custom-light: #dfcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb73a",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 51.37,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77549,
    "c": 0.1413,
    "h": 99.5
  },
  "luminance": 0.4701
}

Semantic roles & 50–950 ramp

primary
#CCB73A
secondary
#919AD1
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB73A

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

Preview Lab → · Contrast checker → · Palette generator →

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