#C6C339#C6C339

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

Color values

HEX#C6C339
RGBrgb(198, 195, 57)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 78%)
CMYKcmyk(0%, 1.5%, 71.2%, 22.4%)
CIE-LABlab(76.88, -14.90, 65.64)
CIE-LCHlch(76.88, 67.31, 102.79°)
OKLaboklab(79.56% -0.0477 0.1453)
OKLCHoklch(79.56% 0.153 108.2)
XYZxyz(43.5440, 51.3328, 11.4846)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C339 #393CC6
analogous
#C67C39 #C6C339 #83C639
triadic
#C6C339 #39C6C3 #C339C6
tetradic
#C6C339 #39C67C #393CC6 #C63983
square
#C6C339 #39C67C #393CC6 #C63983
split-complementary
#C6C339 #3983C6 #7C39C6
monochromatic
#67651E #96942B #C6C339 #D4D169 #E1E098

Accessibility & contrast

On white

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

On black

11.27
#C6C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C339
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C339#FFFFFF#000000##000000
##C6C3391.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c339;
/* rgb */ color: rgb(198, 195, 57);
/* oklch */ color: oklch(79.6% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#dbd479',
    500: '#c6c339',
    950: '#000000',
  },
}
SCSS
$custom: #c6c339;
$custom-light: #dbd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c339",
  "rgb": {
    "r": 198,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 58.723,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.79557,
    "c": 0.15297,
    "h": 108.2
  },
  "luminance": 0.51331
}

Semantic roles & 50–950 ramp

primary
#C6C339
secondary
#323371
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C339

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

Preview Lab → · Contrast checker → · Palette generator →

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