#C7C82D#C7C82D

#C7C82D 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#C7C82D
RGBrgb(199, 200, 45)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 78%, 78%)
CMYKcmyk(0.5%, 0%, 77.5%, 21.6%)
CIE-LABlab(78.25, -17.48, 70.84)
CIE-LCHlch(78.25, 72.97, 103.86°)
OKLaboklab(80.65% -0.056 0.1542)
OKLCHoklch(80.65% 0.164 110)
XYZxyz(44.6828, 53.6415, 10.4822)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C82D #2E2DC8
analogous
#C87B2D #C7C82D #79C82D
triadic
#C7C82D #2DC7C8 #C82DC7
tetradic
#C7C82D #2DC87B #2E2DC8 #C82D79
square
#C7C82D #2DC87B #2E2DC8 #C82D79
split-complementary
#C7C82D #2D79C8 #7B2DC8
monochromatic
#646417 #959622 #C7C82D #D9DA59 #E4E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7c82d;
/* rgb */ color: rgb(199, 200, 45);
/* oklch */ color: oklch(80.7% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcd874',
    500: '#c7c82d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c82d;
$custom-light: #dcd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c82d",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 45
  },
  "hsl": {
    "h": 60.387,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80653,
    "c": 0.16405,
    "h": 110
  },
  "luminance": 0.5364
}

Semantic roles & 50–950 ramp

primary
#C7C82D
secondary
#2B2B6F
accent
#41E643
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C82D

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

Preview Lab → · Contrast checker → · Palette generator →

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