#C0C342#C0C342

#C0C342 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.1% C 0.148 H 110.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C0C342
RGBrgb(192, 195, 66)
HSLhsl(61, 52%, 51%)
HSVhsv(61, 66%, 76%)
CMYKcmyk(1.5%, 0%, 66.2%, 23.5%)
CIE-LABlab(76.45, -16.96, 61.68)
CIE-LCHlch(76.45, 63.97, 105.37°)
OKLaboklab(79.12% -0.0522 0.1387)
OKLCHoklch(79.12% 0.148 110.6)
XYZxyz(42.2380, 50.6311, 12.7010)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C342 #4542C3
analogous
#C38542 #C0C342 #7FC342
triadic
#C0C342 #42C0C3 #C342C0
tetradic
#C0C342 #42C385 #4542C3 #C3427F
square
#C0C342 #42C385 #4542C3 #C3427F
split-complementary
#C0C342 #427FC3 #8542C3
monochromatic
#686921 #959830 #C0C342 #CFD270 #DFE09F

Accessibility & contrast

On white

1.89
#C0C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#C0C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C342
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C342#FFFFFF#000000##000000
##C0C3421.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB30
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#CDB7A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c342;
/* rgb */ color: rgb(192, 195, 66);
/* oklch */ color: oklch(79.1% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#d6d47d',
    500: '#c0c342',
    950: '#000000',
  },
}
SCSS
$custom: #c0c342;
$custom-light: #d6d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c342",
  "rgb": {
    "r": 192,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 61.395,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.1482,
    "h": 110.6
  },
  "luminance": 0.5063
}

Semantic roles & 50–950 ramp

primary
#C0C342
secondary
#373673
accent
#4DDB50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C342

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

Preview Lab → · Contrast checker → · Palette generator →

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