#CCC145#CCC145

#CCC145 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.142 H 104.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CCC145
RGBrgb(204, 193, 69)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.4%, 66.2%, 20%)
CIE-LABlab(76.93, -10.71, 61.28)
CIE-LCHlch(76.93, 62.21, 99.91°)
OKLaboklab(79.74% -0.035 0.138)
OKLCHoklch(79.74% 0.142 104.2)
XYZxyz(45.0477, 51.4087, 13.1790)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC145 #4550CC
analogous
#CC7D45 #CCC145 #93CC45
triadic
#CCC145 #45CCC1 #C145CC
tetradic
#CCC145 #45CC7D #4550CC #CC4593
square
#CCC145 #45CC7D #4550CC #CC4593
split-complementary
#CCC145 #4593CC #7D45CC
monochromatic
#766F20 #A69C2E #CCC145 #D9D175 #E6E1A5

Accessibility & contrast

On white

1.86
#CCC145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CCC145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC145
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC145#FFFFFF#000000##000000
##CCC1451.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#DBB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc145;
/* rgb */ color: rgb(204, 193, 69);
/* oklch */ color: oklch(79.7% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd37f',
    500: '#ccc145',
    950: '#000000',
  },
}
SCSS
$custom: #ccc145;
$custom-light: #dfd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc145",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 55.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79741,
    "c": 0.14235,
    "h": 104.2
  },
  "luminance": 0.51407
}

Semantic roles & 50–950 ramp

primary
#CCC145
secondary
#363C7F
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC145

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

Preview Lab → · Contrast checker → · Palette generator →

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