#C7C82E#C7C82E

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

Color values

HEX#C7C82E
RGBrgb(199, 200, 46)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0.5%, 0%, 77%, 21.6%)
CIE-LABlab(78.26, -17.44, 70.55)
CIE-LCHlch(78.26, 72.67, 103.89°)
OKLaboklab(80.66% -0.0558 0.1538)
OKLCHoklch(80.66% 0.164 110)
XYZxyz(44.7023, 53.6493, 10.5848)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C82E #2F2EC8
analogous
#C87C2E #C7C82E #7AC82E
triadic
#C7C82E #2EC7C8 #C82EC7
tetradic
#C7C82E #2EC87C #2F2EC8 #C82E7A
square
#C7C82E #2EC87C #2F2EC8 #C82E7A
split-complementary
#C7C82E #2E7AC8 #7C2EC8
monochromatic
#646417 #959623 #C7C82E #D8D95A #E4E58C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C82E#FFFFFF#000000##000000
##C7C82E1.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)
#DAC43C
Tritanopia (blue-blind)
#D5BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c82e;
/* rgb */ color: rgb(199, 200, 46);
/* oklch */ color: oklch(80.7% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcd874',
    500: '#c7c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c82e;
$custom-light: #dcd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c82e",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 60.39,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80658,
    "c": 0.16357,
    "h": 110
  },
  "luminance": 0.53648
}

Semantic roles & 50–950 ramp

primary
#C7C82E
secondary
#2C2B6F
accent
#42E643
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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