#C6C040#C6C040

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

Color values

HEX#C6C040
RGBrgb(198, 192, 64)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 68%, 78%)
CMYKcmyk(0%, 3%, 67.7%, 22.4%)
CIE-LABlab(76.12, -13.02, 62.28)
CIE-LCHlch(76.12, 63.63, 101.81°)
OKLaboklab(78.96% -0.0417 0.1394)
OKLCHoklch(78.96% 0.146 106.7)
XYZxyz(43.0654, 50.0767, 12.2468)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C040 #4046C6
analogous
#C67D40 #C6C040 #89C640
triadic
#C6C040 #40C6C0 #C040C6
tetradic
#C6C040 #40C67D #4046C6 #C64089
square
#C6C040 #40C67D #4046C6 #C64089
split-complementary
#C6C040 #4089C6 #7D40C6
monochromatic
#6C6820 #9B962E #C6C040 #D4D06F #E2DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C040#FFFFFF#000000##000000
##C6C0401.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)
#D0B92D
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#D4B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c040;
/* rgb */ color: rgb(198, 192, 64);
/* oklch */ color: oklch(79.0% 0.146 106.7);
Tailwind
colors: {
  custom: {
    50: '#dbd27c',
    500: '#c6c040',
    950: '#000000',
  },
}
SCSS
$custom: #c6c040;
$custom-light: #dbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c040",
  "rgb": {
    "r": 198,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 57.313,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78963,
    "c": 0.14555,
    "h": 106.7
  },
  "luminance": 0.50075
}

Semantic roles & 50–950 ramp

primary
#C6C040
secondary
#353875
accent
#51DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C040

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

Preview Lab → · Contrast checker → · Palette generator →

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