#C6C842#C6C842

#C6C842 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.152 H 110.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C6C842
RGBrgb(198, 200, 66)
HSLhsl(61, 55%, 52%)
HSVhsv(61, 67%, 78%)
CMYKcmyk(1%, 0%, 67%, 21.6%)
CIE-LABlab(78.29, -16.94, 63.70)
CIE-LCHlch(78.29, 65.92, 104.89°)
OKLaboklab(80.7% -0.0525 0.1428)
OKLCHoklch(80.7% 0.152 110.2)
XYZxyz(44.9278, 53.7089, 13.1534)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C842 #4442C8
analogous
#C88742 #C6C842 #83C842
triadic
#C6C842 #42C6C8 #C842C6
tetradic
#C6C842 #42C887 #4442C8 #C84283
square
#C6C842 #42C887 #4442C8 #C84283
split-complementary
#C6C842 #4283C8 #8742C8
monochromatic
#6E6F20 #9D9F2E #C6C842 #D4D671 #E3E4A1

Accessibility & contrast

On white

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

On black

11.74
#C6C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C842
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C842#FFFFFF#000000##000000
##C6C8421.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C02E
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#D4BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c6c842;
/* rgb */ color: rgb(198, 200, 66);
/* oklch */ color: oklch(80.7% 0.152 110.2);
Tailwind
colors: {
  custom: {
    50: '#dbd87e',
    500: '#c6c842',
    950: '#000000',
  },
}
SCSS
$custom: #c6c842;
$custom-light: #dbd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c842",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 60.896,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.15213,
    "h": 110.2
  },
  "luminance": 0.53708
}

Semantic roles & 50–950 ramp

primary
#C6C842
secondary
#373679
accent
#4ADE4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C842

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

Preview Lab → · Contrast checker → · Palette generator →

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