#C6C82B#C6C82B

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

Color values

HEX#C6C82B
RGBrgb(198, 200, 43)
HSLhsl(61, 65%, 48%)
HSVhsv(61, 79%, 78%)
CMYKcmyk(1%, 0%, 78.5%, 21.6%)
CIE-LABlab(78.16, -17.97, 71.31)
CIE-LCHlch(78.16, 73.54, 104.15°)
OKLaboklab(80.56% -0.0575 0.1549)
OKLCHoklch(80.56% 0.165 110.4)
XYZxyz(44.3807, 53.4900, 10.2718)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C82B #2D2BC8
analogous
#C87B2B #C6C82B #78C82B
triadic
#C6C82B #2BC6C8 #C82BC6
tetradic
#C6C82B #2BC87B #2D2BC8 #C82B78
square
#C6C82B #2BC87B #2D2BC8 #C82B78
split-complementary
#C6C82B #2B78C8 #7B2BC8
monochromatic
#626315 #949620 #C6C82B #D9DB56 #E4E588

Accessibility & contrast

On white

1.80
#C6C82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C82B#FFFFFF#000000##000000
##C6C82B1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c82b;
/* rgb */ color: rgb(198, 200, 43);
/* oklch */ color: oklch(80.6% 0.165 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbd873',
    500: '#c6c82b',
    950: '#000000',
  },
}
SCSS
$custom: #c6c82b;
$custom-light: #dbd873;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c82b",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 43
  },
  "hsl": {
    "h": 60.764,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.1652,
    "h": 110.4
  },
  "luminance": 0.53489
}

Semantic roles & 50–950 ramp

primary
#C6C82B
secondary
#2A296E
accent
#40E842
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6C82B

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

Preview Lab → · Contrast checker → · Palette generator →

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