#C0C751#C0C751

#C0C751 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.141 H 112.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C0C751
RGBrgb(192, 199, 81)
HSLhsl(64, 51%, 55%)
HSVhsv(64, 59%, 78%)
CMYKcmyk(3.5%, 0%, 59.3%, 22%)
CIE-LABlab(77.67, -17.98, 56.74)
CIE-LCHlch(77.67, 59.52, 107.58°)
OKLaboklab(80.13% -0.0536 0.1304)
OKLCHoklch(80.13% 0.141 112.3)
XYZxyz(43.6479, 52.6483, 15.6458)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C751 #5851C7
analogous
#C79351 #C0C751 #85C751
triadic
#C0C751 #51C0C7 #C751C0
tetradic
#C0C751 #51C793 #5851C7 #C75185
square
#C0C751 #51C793 #5851C7 #C75185
split-complementary
#C0C751 #5185C7 #9351C7
monochromatic
#727726 #9FA635 #C0C751 #D1D67F #E2E5AE

Accessibility & contrast

On white

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

On black

11.53
#C0C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C751
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C751#FFFFFF#000000##000000
##C0C7511.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#CCBCAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c751;
/* rgb */ color: rgb(192, 199, 81);
/* oklch */ color: oklch(80.1% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#d6d786',
    500: '#c0c751',
    950: '#000000',
  },
}
SCSS
$custom: #c0c751;
$custom-light: #d6d786;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c751",
  "rgb": {
    "r": 192,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 63.559,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80126,
    "c": 0.14097,
    "h": 112.3
  },
  "luminance": 0.52647
}

Semantic roles & 50–950 ramp

primary
#C0C751
secondary
#403C80
accent
#4DDB55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0C751

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

Preview Lab → · Contrast checker → · Palette generator →

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