#C4C028#C4C028

#C4C028 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.159 H 108.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#C4C028
RGBrgb(196, 192, 40)
HSLhsl(58, 66%, 46%)
HSVhsv(58, 80%, 77%)
CMYKcmyk(0%, 2%, 79.6%, 23.1%)
CIE-LABlab(75.82, -14.93, 70.02)
CIE-LCHlch(75.82, 71.59, 102.03°)
OKLaboklab(78.64% -0.0491 0.1516)
OKLCHoklch(78.64% 0.159 108)
XYZxyz(41.9993, 49.5897, 9.3665)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C028 #282CC4
analogous
#C47228 #C4C028 #7AC428
triadic
#C4C028 #28C4C0 #C028C4
tetradic
#C4C028 #28C472 #282CC4 #C4287A
square
#C4C028 #28C472 #282CC4 #C4287A
split-complementary
#C4C028 #287AC4 #7228C4
monochromatic
#5E5C13 #918E1E #C4C028 #DBD74E #E5E381

Accessibility & contrast

On white

1.92
#C4C028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#C4C028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C028
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C028#FFFFFF#000000##000000
##C4C0281.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D3BD36
Tritanopia (blue-blind)
#D3B3A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c028;
/* rgb */ color: rgb(196, 192, 40);
/* oklch */ color: oklch(78.6% 0.159 108.0);
Tailwind
colors: {
  custom: {
    50: '#dad270',
    500: '#c4c028',
    950: '#000000',
  },
}
SCSS
$custom: #c4c028;
$custom-light: #dad270;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c028",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 40
  },
  "hsl": {
    "h": 58.462,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.78641,
    "c": 0.1594,
    "h": 108
  },
  "luminance": 0.49588
}

Semantic roles & 50–950 ramp

primary
#C4C028
secondary
#7A7CCE
accent
#43E93F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #C4C028

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

Preview Lab → · Contrast checker → · Palette generator →

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