#CCC634#CCC634

#CCC634 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.158 H 107.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CCC634
RGBrgb(204, 198, 52)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2.9%, 74.5%, 20%)
CIE-LABlab(78.15, -14.08, 68.73)
CIE-LCHlch(78.15, 70.16, 101.58°)
OKLaboklab(80.69% -0.0462 0.1508)
OKLCHoklch(80.69% 0.158 107)
XYZxyz(45.7176, 53.4751, 11.1617)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC634 #343ACC
analogous
#CC7A34 #CCC634 #86CC34
triadic
#CCC634 #34CCC6 #C634CC
tetradic
#CCC634 #34CC7A #343ACC #CC3486
square
#CCC634 #34CC7A #343ACC #CC3486
split-complementary
#CCC634 #3486CC #7A34CC
monochromatic
#6B681B #9C9727 #CCC634 #D8D465 #E5E196

Accessibility & contrast

On white

1.80
#CCC634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CCC634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC634
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC634#FFFFFF#000000##000000
##CCC6341.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE13
Deuteranopia (green-blind)
#DAC43F
Tritanopia (blue-blind)
#DBB9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc634;
/* rgb */ color: rgb(204, 198, 52);
/* oklch */ color: oklch(80.7% 0.158 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd777',
    500: '#ccc634',
    950: '#000000',
  },
}
SCSS
$custom: #ccc634;
$custom-light: #dfd777;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc634",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 52
  },
  "hsl": {
    "h": 57.632,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80685,
    "c": 0.15769,
    "h": 107
  },
  "luminance": 0.53473
}

Semantic roles & 50–950 ramp

primary
#CCC634
secondary
#303274
accent
#4BE345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCC634

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

Preview Lab → · Contrast checker → · Palette generator →

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