#CCC143#CCC143

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

Color values

HEX#CCC143
RGBrgb(204, 193, 67)
HSLhsl(55, 57%, 53%)
HSVhsv(55, 67%, 80%)
CMYKcmyk(0%, 5.4%, 67.2%, 20%)
CIE-LABlab(76.91, -10.82, 62.07)
CIE-LCHlch(76.91, 63.01, 99.89°)
OKLaboklab(79.72% -0.0355 0.1393)
OKLCHoklch(79.72% 0.144 104.3)
XYZxyz(44.9867, 51.3843, 12.8576)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC143 #434ECC
analogous
#CC7C43 #CCC143 #93CC43
triadic
#CCC143 #43CCC1 #C143CC
tetradic
#CCC143 #43CC7C #434ECC #CC4393
square
#CCC143 #43CC7C #434ECC #CC4393
split-complementary
#CCC143 #4393CC #7C43CC
monochromatic
#756E20 #A59B2D #CCC143 #D9D173 #E6E1A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC143#FFFFFF#000000##000000
##CCC1431.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)
#D2BB31
Deuteranopia (green-blind)
#D5C14B
Tritanopia (blue-blind)
#DBB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc143;
/* rgb */ color: rgb(204, 193, 67);
/* oklch */ color: oklch(79.7% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd37e',
    500: '#ccc143',
    950: '#000000',
  },
}
SCSS
$custom: #ccc143;
$custom-light: #dfd37e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc143",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 55.182,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79724,
    "c": 0.14377,
    "h": 104.3
  },
  "luminance": 0.51383
}

Semantic roles & 50–950 ramp

primary
#CCC143
secondary
#363B7E
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC143

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

Preview Lab → · Contrast checker → · Palette generator →

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