#C6C336#C6C336

#C6C336 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.5% C 0.155 H 108.2°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C6C336
RGBrgb(198, 195, 54)
HSLhsl(59, 57%, 49%)
HSVhsv(59, 73%, 78%)
CMYKcmyk(0%, 1.5%, 72.7%, 22.4%)
CIE-LABlab(76.86, -15.04, 66.67)
CIE-LCHlch(76.86, 68.35, 102.71°)
OKLaboklab(79.54% -0.0484 0.147)
OKLCHoklch(79.54% 0.155 108.2)
XYZxyz(43.4713, 51.3037, 11.1020)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C336 #3639C6
analogous
#C67B36 #C6C336 #81C636
triadic
#C6C336 #36C6C3 #C336C6
tetradic
#C6C336 #36C67B #3639C6 #C63681
square
#C6C336 #36C67B #3639C6 #C63681
split-complementary
#C6C336 #3681C6 #7B36C6
monochromatic
#66641C #969429 #C6C336 #D5D264 #E2E094

Accessibility & contrast

On white

1.86
#C6C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C6C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C336
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C336#FFFFFF#000000##000000
##C6C3361.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1A
Deuteranopia (green-blind)
#D5C041
Tritanopia (blue-blind)
#D4B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c6c336;
/* rgb */ color: rgb(198, 195, 54);
/* oklch */ color: oklch(79.5% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#dbd477',
    500: '#c6c336',
    950: '#000000',
  },
}
SCSS
$custom: #c6c336;
$custom-light: #dbd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c336",
  "rgb": {
    "r": 198,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 58.75,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79538,
    "c": 0.15473,
    "h": 108.2
  },
  "luminance": 0.51302
}

Semantic roles & 50–950 ramp

primary
#C6C336
secondary
#303170
accent
#4BE047
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C336

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

Preview Lab → · Contrast checker → · Palette generator →

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