#C0C640#C0C640

#C0C640 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.8% C 0.153 H 111.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C0C640
RGBrgb(192, 198, 64)
HSLhsl(63, 54%, 51%)
HSVhsv(63, 68%, 78%)
CMYKcmyk(3%, 0%, 67.7%, 22.4%)
CIE-LABlab(77.26, -18.57, 63.27)
CIE-LCHlch(77.26, 65.94, 106.35°)
OKLaboklab(79.76% -0.057 0.1417)
OKLCHoklch(79.76% 0.153 111.9)
XYZxyz(42.8590, 51.9658, 12.6222)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C640 #4640C6
analogous
#C68940 #C0C640 #7DC640
triadic
#C0C640 #40C0C6 #C640C0
tetradic
#C0C640 #40C689 #4640C6 #C6407D
square
#C0C640 #40C689 #4640C6 #C6407D
split-complementary
#C0C640 #407DC6 #8940C6
monochromatic
#686C20 #969B2E #C0C640 #D0D46F #DFE29E

Accessibility & contrast

On white

1.84
#C0C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#C0C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C640
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C640#FFFFFF#000000##000000
##C0C6401.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#CDBAAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c0c640;
/* rgb */ color: rgb(192, 198, 64);
/* oklch */ color: oklch(79.8% 0.153 111.9);
Tailwind
colors: {
  custom: {
    50: '#d6d77d',
    500: '#c0c640',
    950: '#000000',
  },
}
SCSS
$custom: #c0c640;
$custom-light: #d6d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c640",
  "rgb": {
    "r": 192,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 62.687,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79758,
    "c": 0.15273,
    "h": 111.9
  },
  "luminance": 0.51965
}

Semantic roles & 50–950 ramp

primary
#C0C640
secondary
#383575
accent
#4ADD51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C640

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

Preview Lab → · Contrast checker → · Palette generator →

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