#C4C527#C4C527

#C4C527 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#C4C527
RGBrgb(196, 197, 39)
HSLhsl(60, 67%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0.5%, 0%, 80.2%, 22.7%)
CIE-LABlab(77.17, -17.47, 71.47)
CIE-LCHlch(77.17, 73.57, 103.73°)
OKLaboklab(79.72% -0.0563 0.1546)
OKLCHoklch(79.72% 0.165 110)
XYZxyz(43.0991, 51.8161, 9.6503)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C527 #2827C5
analogous
#C57727 #C4C527 #75C527
triadic
#C4C527 #27C4C5 #C527C4
tetradic
#C4C527 #27C577 #2827C5 #C52775
square
#C4C527 #27C577 #2827C5 #C52775
split-complementary
#C4C527 #2775C5 #7727C5
monochromatic
#5E5F13 #91921D #C4C527 #DBDC4D #E5E680

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C527#FFFFFF#000000##000000
##C4C5271.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)
#D7C136
Tritanopia (blue-blind)
#D2B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c527;
/* rgb */ color: rgb(196, 197, 39);
/* oklch */ color: oklch(79.7% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#dad671',
    500: '#c4c527',
    950: '#000000',
  },
}
SCSS
$custom: #c4c527;
$custom-light: #dad671;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c527",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 39
  },
  "hsl": {
    "h": 60.38,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79722,
    "c": 0.16451,
    "h": 110
  },
  "luminance": 0.51815
}

Semantic roles & 50–950 ramp

primary
#C4C527
secondary
#27266A
accent
#3EEA3F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C527

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

Preview Lab → · Contrast checker → · Palette generator →

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