#C6C82D#C6C82D

#C6C82D is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.164 H 110.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C6C82D
RGBrgb(198, 200, 45)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 78%, 78%)
CMYKcmyk(1%, 0%, 77.5%, 21.6%)
CIE-LABlab(78.17, -17.90, 70.74)
CIE-LCHlch(78.17, 72.97, 104.20°)
OKLaboklab(80.57% -0.0571 0.154)
OKLCHoklch(80.57% 0.164 110.4)
XYZxyz(44.4183, 53.5051, 10.4698)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C82D #2F2DC8
analogous
#C87C2D #C6C82D #78C82D
triadic
#C6C82D #2DC6C8 #C82DC6
tetradic
#C6C82D #2DC87C #2F2DC8 #C82D78
square
#C6C82D #2DC87C #2F2DC8 #C82D78
split-complementary
#C6C82D #2D78C8 #7C2DC8
monochromatic
#636417 #959622 #C6C82D #D8DA59 #E4E58B

Accessibility & contrast

On white

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

On black

11.70
#C6C82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C82D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C82D#FFFFFF#000000##000000
##C6C82D1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c82d;
/* rgb */ color: rgb(198, 200, 45);
/* oklch */ color: oklch(80.6% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbd874',
    500: '#c6c82d',
    950: '#000000',
  },
}
SCSS
$custom: #c6c82d;
$custom-light: #dbd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c82d",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 45
  },
  "hsl": {
    "h": 60.774,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.8057,
    "c": 0.16427,
    "h": 110.4
  },
  "luminance": 0.53504
}

Semantic roles & 50–950 ramp

primary
#C6C82D
secondary
#2C2B6F
accent
#41E644
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6C82D

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

Preview Lab → · Contrast checker → · Palette generator →

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