#CCB43D#CCB43D

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

Color values

HEX#CCB43D
RGBrgb(204, 180, 61)
HSLhsl(50, 58%, 52%)
HSVhsv(50, 70%, 80%)
CMYKcmyk(0%, 11.8%, 70.1%, 20%)
CIE-LABlab(73.43, -4.42, 60.92)
CIE-LCHlch(73.43, 61.08, 94.15°)
OKLaboklab(76.95% -0.018 0.1359)
OKLCHoklch(76.95% 0.137 97.6)
XYZxyz(42.0674, 45.8189, 11.0421)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43D #3D55CC
analogous
#CC6D3D #CCB43D #9DCC3D
triadic
#CCB43D #3DCCB4 #B43DCC
tetradic
#CCB43D #3DCC6D #3D55CC #CC3D9D
square
#CCB43D #3DCC6D #3D55CC #CC3D9D
split-complementary
#CCB43D #3D9DCC #6D3DCC
monochromatic
#71631E #A18D2A #CCB43D #D9C76D #E5D99E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB43D#FFFFFF#000000##000000
##CCB43D1.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)
#C6B02C
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#DCA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb43d;
/* rgb */ color: rgb(204, 180, 61);
/* oklch */ color: oklch(76.9% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfca79',
    500: '#ccb43d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43d;
$custom-light: #dfca79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43d",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 49.93,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.13705,
    "h": 97.6
  },
  "luminance": 0.45817
}

Semantic roles & 50–950 ramp

primary
#CCB43D
secondary
#939ED2
accent
#60E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB43D

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

Preview Lab → · Contrast checker → · Palette generator →

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