#CCB341#CCB341

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

Color values

HEX#CCB341
RGBrgb(204, 179, 65)
HSLhsl(49, 58%, 53%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.3%, 68.1%, 20%)
CIE-LABlab(73.19, -3.69, 59.07)
CIE-LCHlch(73.19, 59.19, 93.57°)
OKLaboklab(76.77% -0.0155 0.1326)
OKLCHoklch(76.77% 0.134 96.7)
XYZxyz(41.9781, 45.4613, 11.5638)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB341 #415ACC
analogous
#CC6E41 #CCB341 #9FCC41
triadic
#CCB341 #41CCB3 #B341CC
tetradic
#CCB341 #41CC6E #415ACC #CC419F
square
#CCB341 #41CC6E #415ACC #CC419F
split-complementary
#CCB341 #419FCC #6E41CC
monochromatic
#74641F #A48E2C #CCB341 #D9C671 #E6DAA1

Accessibility & contrast

On white

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

On black

10.09
#CCB341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB341
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB341#FFFFFF#000000##000000
##CCB3411.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb341;
/* rgb */ color: rgb(204, 179, 65);
/* oklch */ color: oklch(76.8% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfc97c',
    500: '#ccb341',
    950: '#000000',
  },
}
SCSS
$custom: #ccb341;
$custom-light: #dfc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb341",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 49.209,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7677,
    "c": 0.13354,
    "h": 96.7
  },
  "luminance": 0.45459
}

Semantic roles & 50–950 ramp

primary
#CCB341
secondary
#96A1D3
accent
#63E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB341

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

Preview Lab → · Contrast checker → · Palette generator →

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