#CCB43A#CCB43A

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

Color values

HEX#CCB43A
RGBrgb(204, 180, 58)
HSLhsl(50, 59%, 51%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 11.8%, 71.6%, 20%)
CIE-LABlab(73.41, -4.57, 62.06)
CIE-LCHlch(73.41, 62.23, 94.21°)
OKLaboklab(76.92% -0.0188 0.1377)
OKLCHoklch(76.92% 0.139 97.8)
XYZxyz(41.9889, 45.7875, 10.6284)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43A #3A52CC
analogous
#CC6B3A #CCB43A #9BCC3A
triadic
#CCB43A #3ACCB4 #B43ACC
tetradic
#CCB43A #3ACC6B #3A52CC #CC3A9B
square
#CCB43A #3ACC6B #3A52CC #CC3A9B
split-complementary
#CCB43A #3A9BCC #6B3ACC
monochromatic
#6F611D #A08C29 #CCB43A #D9C76B #E5D99B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB43A#FFFFFF#000000##000000
##CCB43A1.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)
#C6B027
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb43a;
/* rgb */ color: rgb(204, 180, 58);
/* oklch */ color: oklch(76.9% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#ccb43a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43a;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43a",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 50.137,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.13901,
    "h": 97.8
  },
  "luminance": 0.45785
}

Semantic roles & 50–950 ramp

primary
#CCB43A
secondary
#919BD1
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB43A

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

Preview Lab → · Contrast checker → · Palette generator →

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