#C0C122#C0C122

#C0C122 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.164 H 110.0°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C0C122
RGBrgb(192, 193, 34)
HSLhsl(60, 70%, 45%)
HSVhsv(60, 82%, 76%)
CMYKcmyk(0.5%, 0%, 82.4%, 24.3%)
CIE-LABlab(75.74, -17.33, 71.39)
CIE-LCHlch(75.74, 73.46, 103.65°)
OKLaboklab(78.49% -0.056 0.1537)
OKLCHoklch(78.49% 0.164 110)
XYZxyz(41.0985, 49.4631, 8.8955)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C122 #2322C1
analogous
#C17222 #C0C122 #71C122
triadic
#C0C122 #22C0C1 #C122C0
tetradic
#C0C122 #22C172 #2322C1 #C12271
square
#C0C122 #22C172 #2322C1 #C12271
split-complementary
#C0C122 #2271C1 #7222C1
monochromatic
#585910 #8C8D19 #C0C122 #DDDE42 #E6E776

Accessibility & contrast

On white

1.93
#C0C122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C0C122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C122
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C122#FFFFFF#000000##000000
##C0C1221.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D3BD32
Tritanopia (blue-blind)
#CEB4A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c122;
/* rgb */ color: rgb(192, 193, 34);
/* oklch */ color: oklch(78.5% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#d7d36e',
    500: '#c0c122',
    950: '#000000',
  },
}
SCSS
$custom: #c0c122;
$custom-light: #d7d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c122",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 60.377,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.16362,
    "h": 110
  },
  "luminance": 0.49462
}

Semantic roles & 50–950 ramp

primary
#C0C122
secondary
#7171CE
accent
#3BED3C
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C0C122

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

Preview Lab → · Contrast checker → · Palette generator →

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