#C7C326#C7C326

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

Color values

HEX#C7C326
RGBrgb(199, 195, 38)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 78%)
CMYKcmyk(0%, 2%, 80.9%, 22%)
CIE-LABlab(76.87, -15.21, 71.57)
CIE-LCHlch(76.87, 73.17, 102.00°)
OKLaboklab(79.54% -0.0502 0.1545)
OKLCHoklch(79.54% 0.162 108)
XYZxyz(43.4199, 51.3138, 9.4507)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C326 #262AC7
analogous
#C77326 #C7C326 #7BC726
triadic
#C7C326 #26C7C3 #C326C7
tetradic
#C7C326 #26C773 #262AC7 #C7267B
square
#C7C326 #26C773 #262AC7 #C7267B
split-complementary
#C7C326 #267BC7 #7326C7
monochromatic
#605E12 #94911C #C7C326 #DDD94D #E7E481

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C326#FFFFFF#000000##000000
##C7C3261.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)
#D4BB00
Deuteranopia (green-blind)
#D6C035
Tritanopia (blue-blind)
#D6B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c326;
/* rgb */ color: rgb(199, 195, 38);
/* oklch */ color: oklch(79.5% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcd470',
    500: '#c7c326',
    950: '#000000',
  },
}
SCSS
$custom: #c7c326;
$custom-light: #dcd470;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c326",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 38
  },
  "hsl": {
    "h": 58.509,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79538,
    "c": 0.16245,
    "h": 108
  },
  "luminance": 0.51312
}

Semantic roles & 50–950 ramp

primary
#C7C326
secondary
#26286B
accent
#41EB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C7C326

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

Preview Lab → · Contrast checker → · Palette generator →

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