#C0C140#C0C140

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

Color values

HEX#C0C140
RGBrgb(192, 193, 64)
HSLhsl(60, 51%, 50%)
HSVhsv(60, 67%, 76%)
CMYKcmyk(0.5%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.90, -16.07, 61.90)
CIE-LCHlch(75.90, 63.95, 104.55°)
OKLaboklab(78.67% -0.05 0.1388)
OKLCHoklch(78.67% 0.148 109.8)
XYZxyz(41.7350, 49.7177, 12.2475)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C140 #4140C1
analogous
#C18140 #C0C140 #7FC140
triadic
#C0C140 #40C0C1 #C140C0
tetradic
#C0C140 #40C181 #4140C1 #C1407F
square
#C0C140 #40C181 #4140C1 #C1407F
split-complementary
#C0C140 #407FC1 #8140C1
monochromatic
#656621 #939430 #C0C140 #CFD06E #DEDF9C

Accessibility & contrast

On white

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

On black

10.94
#C0C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C140
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C140#FFFFFF#000000##000000
##C0C1401.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c140;
/* rgb */ color: rgb(192, 193, 64);
/* oklch */ color: oklch(78.7% 0.148 109.8);
Tailwind
colors: {
  custom: {
    50: '#d6d37c',
    500: '#c0c140',
    950: '#000000',
  },
}
SCSS
$custom: #c0c140;
$custom-light: #d6d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c140",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 60.465,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78667,
    "c": 0.14753,
    "h": 109.8
  },
  "luminance": 0.49717
}

Semantic roles & 50–950 ramp

primary
#C0C140
secondary
#9292CB
accent
#4DDA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C0C140

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

Preview Lab → · Contrast checker → · Palette generator →

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