#C6C142#C6C142

#C6C142 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.145 H 107.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C6C142
RGBrgb(198, 193, 66)
HSLhsl(58, 54%, 52%)
HSVhsv(58, 67%, 78%)
CMYKcmyk(0%, 2.5%, 66.7%, 22.4%)
CIE-LABlab(76.40, -13.42, 61.78)
CIE-LCHlch(76.40, 63.22, 102.25°)
OKLaboklab(79.19% -0.0426 0.1387)
OKLCHoklch(79.19% 0.145 107.1)
XYZxyz(43.3436, 50.5405, 12.6253)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C142 #4247C6
analogous
#C67F42 #C6C142 #89C642
triadic
#C6C142 #42C6C1 #C142C6
tetradic
#C6C142 #42C67F #4247C6 #C64289
square
#C6C142 #42C67F #4247C6 #C64289
split-complementary
#C6C142 #4289C6 #7F42C6
monochromatic
#6D6A21 #9C982F #C6C142 #D4D071 #E2E0A0

Accessibility & contrast

On white

1.89
#C6C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#C6C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C142
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C142#FFFFFF#000000##000000
##C6C1421.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D3BF4A
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c142;
/* rgb */ color: rgb(198, 193, 66);
/* oklch */ color: oklch(79.2% 0.145 107.1);
Tailwind
colors: {
  custom: {
    50: '#dbd37d',
    500: '#c6c142',
    950: '#000000',
  },
}
SCSS
$custom: #c6c142;
$custom-light: #dbd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c142",
  "rgb": {
    "r": 198,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 57.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79193,
    "c": 0.14513,
    "h": 107.1
  },
  "luminance": 0.50539
}

Semantic roles & 50–950 ramp

primary
#C6C142
secondary
#363876
accent
#50DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C142

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

Preview Lab → · Contrast checker → · Palette generator →

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