#C0C242#C0C242

#C0C242 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.9% C 0.147 H 110.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#C0C242
RGBrgb(192, 194, 66)
HSLhsl(61, 51%, 51%)
HSVhsv(61, 66%, 76%)
CMYKcmyk(1%, 0%, 66%, 23.9%)
CIE-LABlab(76.18, -16.46, 61.41)
CIE-LCHlch(76.18, 63.57, 105.00°)
OKLaboklab(78.9% -0.0508 0.1381)
OKLCHoklch(78.9% 0.147 110.2)
XYZxyz(42.0147, 50.1845, 12.6266)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C242 #4442C2
analogous
#C28442 #C0C242 #80C242
triadic
#C0C242 #42C0C2 #C242C0
tetradic
#C0C242 #42C284 #4442C2 #C24280
square
#C0C242 #42C284 #4442C2 #C24280
split-complementary
#C0C242 #4280C2 #8442C2
monochromatic
#676822 #959631 #C0C242 #CFD170 #DFE09F

Accessibility & contrast

On white

1.90
#C0C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#C0C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C242
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C242#FFFFFF#000000##000000
##C0C2421.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#CDB6A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c0c242;
/* rgb */ color: rgb(192, 194, 66);
/* oklch */ color: oklch(78.9% 0.147 110.2);
Tailwind
colors: {
  custom: {
    50: '#d6d47d',
    500: '#c0c242',
    950: '#000000',
  },
}
SCSS
$custom: #c0c242;
$custom-light: #d6d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c242",
  "rgb": {
    "r": 192,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 60.938,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.14716,
    "h": 110.2
  },
  "luminance": 0.50183
}

Semantic roles & 50–950 ramp

primary
#C0C242
secondary
#373672
accent
#4DDB4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C242

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

Preview Lab → · Contrast checker → · Palette generator →

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