#C4C526#C4C526

#C4C526 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.165 H 110.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C4C526
RGBrgb(196, 197, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0.5%, 0%, 80.7%, 22.7%)
CIE-LABlab(77.17, -17.50, 71.73)
CIE-LCHlch(77.17, 73.83, 103.71°)
OKLaboklab(79.72% -0.0564 0.155)
OKLCHoklch(79.72% 0.165 110)
XYZxyz(43.0827, 51.8095, 9.5641)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C526 #2726C5
analogous
#C57626 #C4C526 #74C526
triadic
#C4C526 #26C4C5 #C526C4
tetradic
#C4C526 #26C576 #2726C5 #C52674
square
#C4C526 #26C576 #2726C5 #C52674
split-complementary
#C4C526 #2674C5 #7626C5
monochromatic
#5E5E12 #91921C #C4C526 #DCDC4C #E6E67F

Accessibility & contrast

On white

1.85
#C4C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C4C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C526
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C526#FFFFFF#000000##000000
##C4C5261.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D7C135
Tritanopia (blue-blind)
#D2B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c526;
/* rgb */ color: rgb(196, 197, 38);
/* oklch */ color: oklch(79.7% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#dad670',
    500: '#c4c526',
    950: '#000000',
  },
}
SCSS
$custom: #c4c526;
$custom-light: #dad670;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c526",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 60.377,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79717,
    "c": 0.16492,
    "h": 110
  },
  "luminance": 0.51808
}

Semantic roles & 50–950 ramp

primary
#C4C526
secondary
#26266A
accent
#3DEB3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C526

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

Preview Lab → · Contrast checker → · Palette generator →

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