#CCC343#CCC343

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

Color values

HEX#CCC343
RGBrgb(204, 195, 67)
HSLhsl(56, 57%, 53%)
HSVhsv(56, 67%, 80%)
CMYKcmyk(0%, 4.4%, 67.2%, 20%)
CIE-LABlab(77.44, -11.84, 62.61)
CIE-LCHlch(77.44, 63.72, 100.71°)
OKLaboklab(80.15% -0.0384 0.1405)
OKLCHoklch(80.15% 0.146 105.3)
XYZxyz(45.4318, 52.2745, 13.0059)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC343 #434CCC
analogous
#CC7E43 #CCC343 #91CC43
triadic
#CCC343 #43CCC3 #C343CC
tetradic
#CCC343 #43CC7E #434CCC #CC4391
square
#CCC343 #43CC7E #434CCC #CC4391
split-complementary
#CCC343 #4391CC #7E43CC
monochromatic
#756F20 #A59D2D #CCC343 #D9D273 #E6E2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC343#FFFFFF#000000##000000
##CCC3431.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)
#D3BC31
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc343;
/* rgb */ color: rgb(204, 195, 67);
/* oklch */ color: oklch(80.1% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfd47e',
    500: '#ccc343',
    950: '#000000',
  },
}
SCSS
$custom: #ccc343;
$custom-light: #dfd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc343",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 56.058,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80149,
    "c": 0.14562,
    "h": 105.3
  },
  "luminance": 0.52273
}

Semantic roles & 50–950 ramp

primary
#CCC343
secondary
#363A7E
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC343

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

Preview Lab → · Contrast checker → · Palette generator →

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