#C4C525#C4C525

#C4C525 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#C4C525
RGBrgb(196, 197, 37)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0.5%, 0%, 81.2%, 22.7%)
CIE-LABlab(77.16, -17.53, 71.98)
CIE-LCHlch(77.16, 74.09, 103.69°)
OKLaboklab(79.71% -0.0566 0.1553)
OKLCHoklch(79.71% 0.165 110)
XYZxyz(43.0668, 51.8031, 9.4803)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C525 #2625C5
analogous
#C57625 #C4C525 #74C525
triadic
#C4C525 #25C4C5 #C525C4
tetradic
#C4C525 #25C576 #2625C5 #C52574
square
#C4C525 #25C576 #2625C5 #C52574
split-complementary
#C4C525 #2574C5 #7625C5
monochromatic
#5D5E12 #91911B #C4C525 #DCDD4A #E6E77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C525#FFFFFF#000000##000000
##C4C5251.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: #c4c525;
/* rgb */ color: rgb(196, 197, 37);
/* oklch */ color: oklch(79.7% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#dad670',
    500: '#c4c525',
    950: '#000000',
  },
}
SCSS
$custom: #c4c525;
$custom-light: #dad670;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c525",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 37
  },
  "hsl": {
    "h": 60.375,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79713,
    "c": 0.16533,
    "h": 110
  },
  "luminance": 0.51802
}

Semantic roles & 50–950 ramp

primary
#C4C525
secondary
#252569
accent
#3DEB3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C525

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

Preview Lab → · Contrast checker → · Palette generator →

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