#C4C428#C4C428

#C4C428 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.163 H 109.6°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C4C428
RGBrgb(196, 196, 40)
HSLhsl(60, 66%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0%, 0%, 79.6%, 23.1%)
CIE-LABlab(76.90, -16.93, 70.97)
CIE-LCHlch(76.90, 72.96, 103.42°)
OKLaboklab(79.51% -0.0547 0.1537)
OKLCHoklch(79.51% 0.163 109.6)
XYZxyz(42.8895, 51.3702, 9.6632)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C428 #2828C4
analogous
#C47628 #C4C428 #76C428
triadic
#C4C428 #28C4C4 #C428C4
tetradic
#C4C428 #28C476 #2828C4 #C42876
square
#C4C428 #28C476 #2828C4 #C42876
split-complementary
#C4C428 #2876C4 #7628C4
monochromatic
#5E5E13 #91911E #C4C428 #DBDB4E #E5E581

Accessibility & contrast

On white

1.86
#C4C428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C4C428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C428
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C428#FFFFFF#000000##000000
##C4C4281.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C037
Tritanopia (blue-blind)
#D2B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c4c428;
/* rgb */ color: rgb(196, 196, 40);
/* oklch */ color: oklch(79.5% 0.163 109.6);
Tailwind
colors: {
  custom: {
    50: '#dad571',
    500: '#c4c428',
    950: '#000000',
  },
}
SCSS
$custom: #c4c428;
$custom-light: #dad571;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c428",
  "rgb": {
    "r": 196,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79509,
    "c": 0.16314,
    "h": 109.6
  },
  "luminance": 0.51369
}

Semantic roles & 50–950 ramp

primary
#C4C428
secondary
#272769
accent
#3FE93F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C428

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

Preview Lab → · Contrast checker → · Palette generator →

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