#C0C834#C0C834

#C0C834 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.162 H 112.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#C0C834
RGBrgb(192, 200, 52)
HSLhsl(63, 59%, 49%)
HSVhsv(63, 74%, 78%)
CMYKcmyk(4%, 0%, 74%, 21.6%)
CIE-LABlab(77.74, -20.15, 68.00)
CIE-LCHlch(77.74, 70.92, 106.51°)
OKLaboklab(80.12% -0.0625 0.1496)
OKLCHoklch(80.12% 0.162 112.7)
XYZxyz(43.0137, 52.7640, 11.1667)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C834 #3C34C8
analogous
#C88634 #C0C834 #76C834
triadic
#C0C834 #34C0C8 #C834C0
tetradic
#C0C834 #34C886 #3C34C8 #C83476
square
#C0C834 #34C886 #3C34C8 #C83476
split-complementary
#C0C834 #3476C8 #8634C8
monochromatic
#63671B #919727 #C0C834 #D0D663 #DFE393

Accessibility & contrast

On white

1.82
#C0C834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#C0C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C834
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C834#FFFFFF#000000##000000
##C0C8341.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE13
Deuteranopia (green-blind)
#D7C240
Tritanopia (blue-blind)
#CDBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c834;
/* rgb */ color: rgb(192, 200, 52);
/* oklch */ color: oklch(80.1% 0.162 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d877',
    500: '#c0c834',
    950: '#000000',
  },
}
SCSS
$custom: #c0c834;
$custom-light: #d7d877;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c834",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 63.243,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80115,
    "c": 0.16217,
    "h": 112.7
  },
  "luminance": 0.52763
}

Semantic roles & 50–950 ramp

primary
#C0C834
secondary
#332F71
accent
#46E24E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C834

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

Preview Lab → · Contrast checker → · Palette generator →

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