#C4C328#C4C328

#C4C328 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.162 H 109.2°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C4C328
RGBrgb(196, 195, 40)
HSLhsl(60, 66%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0%, 0.5%, 79.6%, 23.1%)
CIE-LABlab(76.63, -16.43, 70.73)
CIE-LCHlch(76.63, 72.61, 103.08°)
OKLaboklab(79.29% -0.0533 0.1532)
OKLCHoklch(79.29% 0.162 109.2)
XYZxyz(42.6647, 50.9205, 9.5883)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C328 #2829C4
analogous
#C47528 #C4C328 #77C428
triadic
#C4C328 #28C4C3 #C328C4
tetradic
#C4C328 #28C475 #2829C4 #C42877
square
#C4C328 #28C475 #2829C4 #C42877
split-complementary
#C4C328 #2877C4 #7528C4
monochromatic
#5E5E13 #91901E #C4C328 #DBDA4E #E5E581

Accessibility & contrast

On white

1.88
#C4C328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#C4C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C328
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C328#FFFFFF#000000##000000
##C4C3281.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#D2B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c328;
/* rgb */ color: rgb(196, 195, 40);
/* oklch */ color: oklch(79.3% 0.162 109.2);
Tailwind
colors: {
  custom: {
    50: '#dad471',
    500: '#c4c328',
    950: '#000000',
  },
}
SCSS
$custom: #c4c328;
$custom-light: #dad471;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c328",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 59.615,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79291,
    "c": 0.16219,
    "h": 109.2
  },
  "luminance": 0.50919
}

Semantic roles & 50–950 ramp

primary
#C4C328
secondary
#272769
accent
#40E93F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C328

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

Preview Lab → · Contrast checker → · Palette generator →

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