#C0C428#C0C428

#C0C428 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.2% C 0.164 H 111.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C0C428
RGBrgb(192, 196, 40)
HSLhsl(62, 66%, 46%)
HSVhsv(62, 80%, 77%)
CMYKcmyk(2%, 0%, 79.6%, 23.1%)
CIE-LABlab(76.58, -18.64, 70.56)
CIE-LCHlch(76.58, 72.98, 104.80°)
OKLaboklab(79.17% -0.0593 0.153)
OKLCHoklch(79.17% 0.164 111.2)
XYZxyz(41.8627, 50.8407, 9.6151)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C428 #2C28C4
analogous
#C47A28 #C0C428 #72C428
triadic
#C0C428 #28C0C4 #C428C0
tetradic
#C0C428 #28C47A #2C28C4 #C42872
square
#C0C428 #28C47A #2C28C4 #C42872
split-complementary
#C0C428 #2872C4 #7A28C4
monochromatic
#5C5E13 #8E911E #C0C428 #D7DB4E #E3E581

Accessibility & contrast

On white

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

On black

11.17
#C0C428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C428
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C428#FFFFFF#000000##000000
##C0C4281.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#CEB7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c428;
/* rgb */ color: rgb(192, 196, 40);
/* oklch */ color: oklch(79.2% 0.164 111.2);
Tailwind
colors: {
  custom: {
    50: '#d7d571',
    500: '#c0c428',
    950: '#000000',
  },
}
SCSS
$custom: #c0c428;
$custom-light: #d7d571;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c428",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 61.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79174,
    "c": 0.16406,
    "h": 111.2
  },
  "luminance": 0.5084
}

Semantic roles & 50–950 ramp

primary
#C0C428
secondary
#282769
accent
#3FE943
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C428

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

Preview Lab → · Contrast checker → · Palette generator →

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