#CCB73B#CCB73B

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

Color values

HEX#CCB73B
RGBrgb(204, 183, 59)
HSLhsl(51, 59%, 52%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.3%, 71.1%, 20%)
CIE-LABlab(74.20, -6.09, 62.47)
CIE-LCHlch(74.20, 62.76, 95.57°)
OKLaboklab(77.56% -0.023 0.1388)
OKLCHoklch(77.56% 0.141 99.4)
XYZxyz(42.6267, 47.0221, 10.9677)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB73B #3B50CC
analogous
#CC6F3B #CCB73B #99CC3B
triadic
#CCB73B #3BCCB7 #B73BCC
tetradic
#CCB73B #3BCC6F #3B50CC #CC3B99
square
#CCB73B #3BCC6F #3B50CC #CC3B99
split-complementary
#CCB73B #3B99CC #6F3BCC
monochromatic
#70641D #A08F2A #CCB73B #D9C96C #E5DB9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB73B#FFFFFF#000000##000000
##CCB73B1.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)
#C9B228
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#DCAA9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb73b;
/* rgb */ color: rgb(204, 183, 59);
/* oklch */ color: oklch(77.6% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#dfcc79',
    500: '#ccb73b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb73b;
$custom-light: #dfcc79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb73b",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 51.31,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77556,
    "c": 0.14066,
    "h": 99.4
  },
  "luminance": 0.4702
}

Semantic roles & 50–950 ramp

primary
#CCB73B
secondary
#929BD1
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB73B

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

Preview Lab → · Contrast checker → · Palette generator →

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