#C7C526#C7C526

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

Color values

HEX#C7C526
RGBrgb(199, 197, 38)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 78%)
CMYKcmyk(0%, 1%, 80.9%, 22%)
CIE-LABlab(77.41, -16.22, 72.03)
CIE-LCHlch(77.41, 73.84, 102.69°)
OKLaboklab(79.97% -0.053 0.1555)
OKLCHoklch(79.97% 0.164 108.8)
XYZxyz(43.8711, 52.2160, 9.6011)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C526 #2628C7
analogous
#C77526 #C7C526 #79C726
triadic
#C7C526 #26C7C5 #C526C7
tetradic
#C7C526 #26C775 #2628C7 #C72679
square
#C7C526 #26C775 #2628C7 #C72679
split-complementary
#C7C526 #2679C7 #7526C7
monochromatic
#605F12 #94921C #C7C526 #DDDB4D #E7E681

Accessibility & contrast

On white

1.84
#C7C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C526#FFFFFF#000000##000000
##C7C5261.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D8C135
Tritanopia (blue-blind)
#D6B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c526;
/* rgb */ color: rgb(199, 197, 38);
/* oklch */ color: oklch(80.0% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcd670',
    500: '#c7c526',
    950: '#000000',
  },
}
SCSS
$custom: #c7c526;
$custom-light: #dcd670;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c526",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 59.255,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79971,
    "c": 0.16429,
    "h": 108.8
  },
  "luminance": 0.52215
}

Semantic roles & 50–950 ramp

primary
#C7C526
secondary
#26276B
accent
#3FEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C7C526

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

Preview Lab → · Contrast checker → · Palette generator →

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