#C6C042#C6C042

#C6C042 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.144 H 106.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C6C042
RGBrgb(198, 192, 66)
HSLhsl(57, 54%, 52%)
HSVhsv(57, 67%, 78%)
CMYKcmyk(0%, 3%, 66.7%, 22.4%)
CIE-LABlab(76.13, -12.91, 61.51)
CIE-LCHlch(76.13, 62.85, 101.85°)
OKLaboklab(78.98% -0.0412 0.1381)
OKLCHoklch(78.98% 0.144 106.6)
XYZxyz(43.1233, 50.0998, 12.5519)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C042 #4248C6
analogous
#C67E42 #C6C042 #8AC642
triadic
#C6C042 #42C6C0 #C042C6
tetradic
#C6C042 #42C67E #4248C6 #C6428A
square
#C6C042 #42C67E #4248C6 #C6428A
split-complementary
#C6C042 #428AC6 #7E42C6
monochromatic
#6D6921 #9C972F #C6C042 #D4D071 #E2DFA0

Accessibility & contrast

On white

1.91
#C6C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C6C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C042
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C042#FFFFFF#000000##000000
##C6C0421.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#D4B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c042;
/* rgb */ color: rgb(198, 192, 66);
/* oklch */ color: oklch(79.0% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#dbd27d',
    500: '#c6c042',
    950: '#000000',
  },
}
SCSS
$custom: #c6c042;
$custom-light: #dbd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c042",
  "rgb": {
    "r": 198,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 57.273,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78979,
    "c": 0.14416,
    "h": 106.6
  },
  "luminance": 0.50098
}

Semantic roles & 50–950 ramp

primary
#C6C042
secondary
#363976
accent
#51DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C042

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

Preview Lab → · Contrast checker → · Palette generator →

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