#C6C538#C6C538

#C6C538 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.0% C 0.155 H 109.0°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#C6C538
RGBrgb(198, 197, 56)
HSLhsl(60, 56%, 50%)
HSVhsv(60, 72%, 78%)
CMYKcmyk(0%, 0.5%, 71.7%, 22.4%)
CIE-LABlab(77.42, -15.95, 66.51)
CIE-LCHlch(77.42, 68.39, 103.49°)
OKLaboklab(79.98% -0.0507 0.147)
OKLCHoklch(79.98% 0.156 109)
XYZxyz(43.9704, 52.2251, 11.5049)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C538 #3839C6
analogous
#C67E38 #C6C538 #80C638
triadic
#C6C538 #38C6C5 #C538C6
tetradic
#C6C538 #38C67E #3839C6 #C63880
square
#C6C538 #38C67E #3839C6 #C63880
split-complementary
#C6C538 #3880C6 #7E38C6
monochromatic
#67661D #96962B #C6C538 #D4D367 #E2E197

Accessibility & contrast

On white

1.83
#C6C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#C6C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C538
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C538#FFFFFF#000000##000000
##C6C5381.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#D4B8AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c6c538;
/* rgb */ color: rgb(198, 197, 56);
/* oklch */ color: oklch(80.0% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#dbd678',
    500: '#c6c538',
    950: '#000000',
  },
}
SCSS
$custom: #c6c538;
$custom-light: #dbd678;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c538",
  "rgb": {
    "r": 198,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 59.577,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79983,
    "c": 0.1555,
    "h": 109
  },
  "luminance": 0.52224
}

Semantic roles & 50–950 ramp

primary
#C6C538
secondary
#313271
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C538

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

Preview Lab → · Contrast checker → · Palette generator →

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