#CCC341#CCC341

#CCC341 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.147 H 105.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CCC341
RGBrgb(204, 195, 65)
HSLhsl(56, 58%, 53%)
HSVhsv(56, 68%, 80%)
CMYKcmyk(0%, 4.4%, 68.1%, 20%)
CIE-LABlab(77.43, -11.95, 63.38)
CIE-LCHlch(77.43, 64.50, 100.67°)
OKLaboklab(80.13% -0.0389 0.1417)
OKLCHoklch(80.13% 0.147 105.4)
XYZxyz(45.3729, 52.2509, 12.6954)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC341 #414ACC
analogous
#CC7D41 #CCC341 #8FCC41
triadic
#CCC341 #41CCC3 #C341CC
tetradic
#CCC341 #41CC7D #414ACC #CC418F
square
#CCC341 #41CC7D #414ACC #CC418F
split-complementary
#CCC341 #418FCC #7D41CC
monochromatic
#746E1F #A49C2C #CCC341 #D9D271 #E6E1A1

Accessibility & contrast

On white

1.83
#CCC341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CCC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC341
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC341#FFFFFF#000000##000000
##CCC3411.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc341;
/* rgb */ color: rgb(204, 195, 65);
/* oklch */ color: oklch(80.1% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd47d',
    500: '#ccc341',
    950: '#000000',
  },
}
SCSS
$custom: #ccc341;
$custom-light: #dfd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc341",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 56.115,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80133,
    "c": 0.14699,
    "h": 105.4
  },
  "luminance": 0.52249
}

Semantic roles & 50–950 ramp

primary
#CCC341
secondary
#35397C
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC341

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

Preview Lab → · Contrast checker → · Palette generator →

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