#CCB43C#CCB43C

#CCB43C is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.138 H 97.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CCB43C
RGBrgb(204, 180, 60)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 11.8%, 70.6%, 20%)
CIE-LABlab(73.42, -4.47, 61.30)
CIE-LCHlch(73.42, 61.47, 94.17°)
OKLaboklab(76.94% -0.0183 0.1365)
OKLCHoklch(76.94% 0.138 97.6)
XYZxyz(42.0407, 45.8082, 10.9016)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43C #3C54CC
analogous
#CC6C3C #CCB43C #9CCC3C
triadic
#CCB43C #3CCCB4 #B43CCC
tetradic
#CCB43C #3CCC6C #3C54CC #CC3C9C
square
#CCB43C #3CCC6C #3C54CC #CC3C9C
split-complementary
#CCB43C #3C9CCC #6C3CCC
monochromatic
#70621D #A18D2A #CCB43C #D9C76D #E5D99D

Accessibility & contrast

On white

2.07
#CCB43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CCB43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB43C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB43C#FFFFFF#000000##000000
##CCB43C1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#DCA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb43c;
/* rgb */ color: rgb(204, 180, 60);
/* oklch */ color: oklch(76.9% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfca79',
    500: '#ccb43c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43c;
$custom-light: #dfca79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43c",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 50,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76938,
    "c": 0.13771,
    "h": 97.6
  },
  "luminance": 0.45806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB43C

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

Preview Lab → · Contrast checker → · Palette generator →

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