#C6C726#C6C726

#C6C726 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.166 H 110.0°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C6C726
RGBrgb(198, 199, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 78%)
CMYKcmyk(0.5%, 0%, 80.9%, 22%)
CIE-LABlab(77.87, -17.64, 72.40)
CIE-LCHlch(77.87, 74.52, 103.70°)
OKLaboklab(80.32% -0.0569 0.1563)
OKLCHoklch(80.32% 0.166 110)
XYZxyz(44.0637, 52.9939, 9.7411)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C726 #2726C7
analogous
#C77826 #C6C726 #76C726
triadic
#C6C726 #26C6C7 #C726C6
tetradic
#C6C726 #26C778 #2726C7 #C72676
square
#C6C726 #26C778 #2726C7 #C72676
split-complementary
#C6C726 #2676C7 #7826C7
monochromatic
#606012 #93941C #C6C726 #DCDD4D #E6E781

Accessibility & contrast

On white

1.81
#C6C726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C6C726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C726
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C726#FFFFFF#000000##000000
##C6C7261.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D9C336
Tritanopia (blue-blind)
#D4BAAA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c6c726;
/* rgb */ color: rgb(198, 199, 38);
/* oklch */ color: oklch(80.3% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcd771',
    500: '#c6c726',
    950: '#000000',
  },
}
SCSS
$custom: #c6c726;
$custom-light: #dcd771;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c726",
  "rgb": {
    "r": 198,
    "g": 199,
    "b": 38
  },
  "hsl": {
    "h": 60.373,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.8032,
    "c": 0.16637,
    "h": 110
  },
  "luminance": 0.52993
}

Semantic roles & 50–950 ramp

primary
#C6C726
secondary
#27266B
accent
#3DEB3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6C726

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

Preview Lab → · Contrast checker → · Palette generator →

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