#CCB345#CCB345

#CCB345 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.131 H 96.3°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CCB345
RGBrgb(204, 179, 69)
HSLhsl(49, 57%, 54%)
HSVhsv(49, 66%, 80%)
CMYKcmyk(0%, 12.3%, 66.2%, 20%)
CIE-LABlab(73.23, -3.46, 57.43)
CIE-LCHlch(73.23, 57.53, 93.45°)
OKLaboklab(76.81% -0.0144 0.1298)
OKLCHoklch(76.81% 0.131 96.3)
XYZxyz(42.0981, 45.5093, 12.1958)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB345 #455ECC
analogous
#CC6F45 #CCB345 #A1CC45
triadic
#CCB345 #45CCB3 #B345CC
tetradic
#CCB345 #45CC6F #455ECC #CC45A1
square
#CCB345 #45CC6F #455ECC #CC45A1
split-complementary
#CCB345 #45A1CC #6F45CC
monochromatic
#766620 #A6902E #CCB345 #D9C775 #E6DAA5

Accessibility & contrast

On white

2.08
#CCB345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CCB345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB345
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB345#FFFFFF#000000##000000
##CCB3451.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb345;
/* rgb */ color: rgb(204, 179, 69);
/* oklch */ color: oklch(76.8% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfc97e',
    500: '#ccb345',
    950: '#000000',
  },
}
SCSS
$custom: #ccb345;
$custom-light: #dfc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb345",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 48.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.13062,
    "h": 96.3
  },
  "luminance": 0.45507
}

Semantic roles & 50–950 ramp

primary
#CCB345
secondary
#99A4D3
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB345

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

Preview Lab → · Contrast checker → · Palette generator →

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