#C7C82C#C7C82C

#C7C82C is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.165 H 110.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C7C82C
RGBrgb(199, 200, 44)
HSLhsl(60, 64%, 48%)
HSVhsv(60, 78%, 78%)
CMYKcmyk(0.5%, 0%, 78%, 21.6%)
CIE-LABlab(78.25, -17.52, 71.13)
CIE-LCHlch(78.25, 73.25, 103.83°)
OKLaboklab(80.65% -0.0562 0.1546)
OKLCHoklch(80.65% 0.165 110)
XYZxyz(44.6638, 53.6339, 10.3820)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C82C #2D2CC8
analogous
#C87B2C #C7C82C #79C82C
triadic
#C7C82C #2CC7C8 #C82CC7
tetradic
#C7C82C #2CC87B #2D2CC8 #C82C79
square
#C7C82C #2CC87B #2D2CC8 #C82C79
split-complementary
#C7C82C #2C79C8 #7B2CC8
monochromatic
#636416 #959621 #C7C82C #D9DA57 #E5E589

Accessibility & contrast

On white

1.79
#C7C82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C7C82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C82C
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C82C#FFFFFF#000000##000000
##C7C82C1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#DAC43A
Tritanopia (blue-blind)
#D5BBAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c82c;
/* rgb */ color: rgb(199, 200, 44);
/* oklch */ color: oklch(80.6% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcd873',
    500: '#c7c82c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c82c;
$custom-light: #dcd873;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c82c",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 44
  },
  "hsl": {
    "h": 60.385,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80648,
    "c": 0.16451,
    "h": 110
  },
  "luminance": 0.53633
}

Semantic roles & 50–950 ramp

primary
#C7C82C
secondary
#2A2A6E
accent
#41E742
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C82C

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

Preview Lab → · Contrast checker → · Palette generator →

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