#C6C242#C6C242

#C6C242 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.146 H 107.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#C6C242
RGBrgb(198, 194, 66)
HSLhsl(58, 54%, 52%)
HSVhsv(58, 67%, 78%)
CMYKcmyk(0%, 2%, 66.7%, 22.4%)
CIE-LABlab(76.67, -13.93, 62.06)
CIE-LCHlch(76.67, 63.60, 102.65°)
OKLaboklab(79.41% -0.0441 0.1393)
OKLCHoklch(79.41% 0.146 107.6)
XYZxyz(43.5654, 50.9841, 12.6993)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C242 #4246C6
analogous
#C68042 #C6C242 #88C642
triadic
#C6C242 #42C6C2 #C242C6
tetradic
#C6C242 #42C680 #4246C6 #C64288
square
#C6C242 #42C680 #4246C6 #C64288
split-complementary
#C6C242 #4288C6 #8042C6
monochromatic
#6D6A21 #9C992F #C6C242 #D4D171 #E2E0A0

Accessibility & contrast

On white

1.88
#C6C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#C6C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C242
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C242#FFFFFF#000000##000000
##C6C2421.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB30
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#D4B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c242;
/* rgb */ color: rgb(198, 194, 66);
/* oklch */ color: oklch(79.4% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#dbd47d',
    500: '#c6c242',
    950: '#000000',
  },
}
SCSS
$custom: #c6c242;
$custom-light: #dbd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c242",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 58.182,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.1461,
    "h": 107.6
  },
  "luminance": 0.50983
}

Semantic roles & 50–950 ramp

primary
#C6C242
secondary
#363876
accent
#4FDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C242

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

Preview Lab → · Contrast checker → · Palette generator →

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