#C0C142#C0C142

#C0C142 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.146 H 109.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C0C142
RGBrgb(192, 193, 66)
HSLhsl(60, 51%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0.5%, 0%, 65.8%, 24.3%)
CIE-LABlab(75.91, -15.95, 61.13)
CIE-LCHlch(75.91, 63.17, 104.63°)
OKLaboklab(78.68% -0.0494 0.1375)
OKLCHoklch(78.68% 0.146 109.8)
XYZxyz(41.7929, 49.7409, 12.5526)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C142 #4342C1
analogous
#C18242 #C0C142 #81C142
triadic
#C0C142 #42C0C1 #C142C0
tetradic
#C0C142 #42C182 #4342C1 #C14281
square
#C0C142 #42C182 #4342C1 #C14281
split-complementary
#C0C142 #4281C1 #8242C1
monochromatic
#666722 #949531 #C0C142 #CFD070 #DFDF9E

Accessibility & contrast

On white

1.92
#C0C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#C0C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C142
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C142#FFFFFF#000000##000000
##C0C1421.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#CDB5A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c142;
/* rgb */ color: rgb(192, 193, 66);
/* oklch */ color: oklch(78.7% 0.146 109.8);
Tailwind
colors: {
  custom: {
    50: '#d6d37d',
    500: '#c0c142',
    950: '#000000',
  },
}
SCSS
$custom: #c0c142;
$custom-light: #d6d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c142",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 60.472,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78683,
    "c": 0.14612,
    "h": 109.8
  },
  "luminance": 0.4974
}

Semantic roles & 50–950 ramp

primary
#C0C142
secondary
#9493CC
accent
#4EDA4F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C0C142

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

Preview Lab → · Contrast checker → · Palette generator →

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